Commit graph

9091 commits

Author SHA1 Message Date
Patrick Uiterwijk
55e32e72ef Make playbook idemnipotent again
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-06-23 09:57:12 +00:00
Aurélien Bompard
bbd9414f8d Mailman3: minor updates 2015-06-23 08:50:16 +00:00
Patrick Uiterwijk
8d6b723267 Fixup copr-back 2015-06-23 08:40:19 +00:00
Patrick Uiterwijk
55602e222a Fix this URL
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-06-23 08:33:30 +00:00
Adrian Reber
0c710e5d60 The crawler logs are now on mm-frontend01.
ProxyPass to the crawler is no longer required.
2015-06-23 07:39:18 +00:00
Patrick Uiterwijk
342ee68ecd Temporarily dont do this 2015-06-23 06:54:41 +00:00
Patrick Uiterwijk
6393ec5011 Invalid generalization
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-06-23 06:53:01 +00:00
Patrick Uiterwijk
f43622c33c Migrate openstack over to fedorainfracloud.org
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-06-23 06:43:05 +00:00
Kevin Fenzi
6216d13dce Don't install this cron job in staging if we aren't setting up rsync in stg. 2015-06-22 23:14:38 +00:00
Kevin Fenzi
eb7a56022f This little typo cost me a lot of time. ;( It wasn't running the loop, but setting one sebool I didn't care about. 2015-06-22 22:10:18 +00:00
Ralph Bean
55e91c3f45 Add a playbook to snapshot production koji and stand it up in staging. 2015-06-22 22:09:47 +00:00
Ralph Bean
b861e6b1f1 Try moving this here. 2015-06-22 22:09:47 +00:00
Kevin Fenzi
cba0f3f7d9 Adjust this fcontext to hit the right stuff. 2015-06-22 22:08:26 +00:00
Kevin Fenzi
70e21a580d More copypasta. Yum 2015-06-22 22:05:52 +00:00
Kevin Fenzi
0097fdcda7 Misc people fixes:
Set the cgit repos dir to be readable by apache.
Set git context for public_git dirs
Allow cgit to read it's css and such.
2015-06-22 21:59:56 +00:00
Ralph Bean
ba474ef458 This needs to be on the db host, not on the koji hub host. 2015-06-22 21:46:53 +00:00
Kevin Fenzi
b30091efa2 Clean up and tweak the people apache config. 2015-06-22 21:35:07 +00:00
Kevin Fenzi
0afcdc891d Add a ssl.conf so we listen on port 443 2015-06-22 21:15:05 +00:00
Adrian Reber
49e9f30aa4 Only sync current logs and not the old ones. 2015-06-22 21:07:47 +00:00
Kevin Fenzi
7ac8ec455c Fix copy pasta 2015-06-22 21:07:33 +00:00
Kevin Fenzi
6a6fab6866 Also might need to start httpd. 2015-06-22 21:06:31 +00:00
Kevin Fenzi
4971ade8ce Set these quota plays to only change if there's a non 0 exit code. 2015-06-22 21:00:26 +00:00
Adrian Reber
11d95b33d8 Again the wrong order, first create the user, then chown. 2015-06-22 20:59:39 +00:00
Adrian Reber
f557808f7e The mirrormanager2-frontend RPM does not create a mirrormanager user
Create the user manually for the crawler log sync.
2015-06-22 20:56:49 +00:00
Kevin Fenzi
ea90f2cdce Move this over to /var/www/ since /var/www/git doesn't exist. 2015-06-22 20:53:39 +00:00
Adrian Reber
950eef038d First create the directory than apply selinux changes. 2015-06-22 20:49:50 +00:00
Kevin Fenzi
d1856573fc Try and handle quotas in playbook instead of ad-hock
Set the default quotas, then set people who have higher specifically.
Tag up the people playbook in case we need to run just quotas or people stuff.
2015-06-22 20:48:01 +00:00
Adrian Reber
ad01a89154 Forgot 'tags:' 2015-06-22 20:44:18 +00:00
Adrian Reber
dc0ba4b54f Sync crawler logs every hour
Sync crawler logs every hour from crawlers to the frontend.
2015-06-22 20:42:17 +00:00
Adrian Reber
c4500ab72d Add log/mirrormanager/crawler to apache config 2015-06-22 20:11:58 +00:00
Adrian Reber
7ef98b514d The crawler logs are now on the frontend system
and therefore apache and its configuration can be removed from the
crawlers.
2015-06-22 20:10:55 +00:00
Adrian Reber
48f1f8c31b Only add rsyncd role if env != staging 2015-06-22 19:44:20 +00:00
Kevin Fenzi
5df3d94fbb Add first cut at httpd config for people/planet. 2015-06-22 19:37:52 +00:00
Adrian Reber
a5bc52c240 Add rsyncd role to the MM crawlers
To provide access to the crawler logs on the mm frontend the crawlers
are now exporting their logs over rsync.
2015-06-22 19:34:35 +00:00
Kevin Fenzi
34e5052ee4 Use the correct xfs quota settings here in the srv mount 2015-06-22 19:26:39 +00:00
Kevin Fenzi
33fb6a7c6f Get bind mount working hopefully. 2015-06-22 18:40:53 +00:00
Kevin Fenzi
dc4403014c Fix typo. Should be pre_tasks 2015-06-22 18:22:34 +00:00
Kevin Fenzi
a28ff4c51a Move planet before fedmsg so the planet-user exists. 2015-06-22 18:20:27 +00:00
Kevin Fenzi
48fd405bc4 Add people mount options for the various volumes 2015-06-22 18:19:12 +00:00
Kevin Fenzi
d3d647232c Disable planet cron jobs on new people until we make it live. 2015-06-22 18:04:27 +00:00
Kevin Fenzi
f7479e9353 Add people playbook to master. 2015-06-22 17:44:34 +00:00
Kevin Fenzi
76a1c60e66 Add nameserver and bastion02 to /etc/hosts on serverbeach boxes. 2015-06-22 17:30:52 +00:00
Ralph Bean
379fb619f6 Make the name consistent. 2015-06-22 15:38:40 +00:00
Ralph Bean
ef45dc9897 Template, not copy. 2015-06-22 15:37:04 +00:00
Ralph Bean
d24ebb66e2 Add a draft of the koji staging reset script. 2015-06-22 15:36:16 +00:00
Ralph Bean
42861e554e Fix stg koji symlink. 2015-06-22 15:09:26 +00:00
Ralph Bean
a88e0771b3 Add a playbook just for shushing fmn/nagios. 2015-06-22 14:59:55 +00:00
Ralph Bean
f67113fbdf Turns out the backend actually does send a handful of these. 2015-06-22 14:54:47 +00:00
Ralph Bean
48804e3614 Create /usr/share/httpd/.local for mote-updater. 2015-06-22 14:51:54 +00:00
Ralph Bean
4b4d8f4264 Create /mnt/koji/vol/prod for staging koji-hub. 2015-06-22 14:16:58 +00:00