1210 Commits

Author SHA1 Message Date
Pierre-Yves Chibon
8fc4efe824 Add first work on the easyfix role
This still requires some work:
- It has no playbook
- It is missing the proxy bits
   - configuration of the proxies themselves
   - cron job copying the files from the app running the cron job onto
     the proxies
2014-03-03 17:55:03 +01:00
Kevin Fenzi
72f327b1dd This config needs to be readable by apache to get db connect info. 2014-03-02 19:48:39 +00:00
Kevin Fenzi
e78f2428bd Fix template 2014-03-02 19:37:53 +00:00
Kevin Fenzi
2996177350 Fix path 2014-03-02 19:08:18 +00:00
Kevin Fenzi
6a2ff13321 No need to include handlers here. 2014-03-02 19:01:18 +00:00
Kevin Fenzi
c76f5b8c66 Add paste to ansible. Ticket 4231. Thanks adimania 2014-03-02 18:58:37 +00:00
Patrick Uiterwijk
c3a5f73b6a Fix bug in fedoauth by disabling remote_addr checking 2014-03-01 14:03:17 +00:00
Kevin Fenzi
cebefb9ad1 Fix this so it works when it's not defined. 2014-03-01 00:18:44 +00:00
Kevin Fenzi
cfdba2b43b Work around local4 syslog issue with mirrorlists for now. 2014-02-28 23:21:00 +00:00
Kevin Fenzi
7d904a3693 Drop 2fa from arm-packager too 2014-02-28 22:58:27 +00:00
Kevin Fenzi
75a68ab596 Switch back to this setup 2014-02-28 21:12:03 +00:00
Kevin Fenzi
c6e71f899a Grrrrr. - is not valid in a variable name 2014-02-28 21:00:21 +00:00
Kevin Fenzi
3cf121fd11 Should be single quotes. 2014-02-28 20:57:16 +00:00
Kevin Fenzi
3c4dc7fdbe Variable headache 2014-02-28 20:49:10 +00:00
Kevin Fenzi
9af221956a Try this tack 2014-02-28 20:43:43 +00:00
Kevin Fenzi
9b8cbe9780 A bit more cleanup, perhaps this will actually work. 2014-02-28 20:41:33 +00:00
Kevin Fenzi
5ca8240091 Move this up a tad 2014-02-28 20:32:43 +00:00
Kevin Fenzi
d63857dbc9 Setup things so arm03 socs get nopasswd sudo so we don't need 2fa there. 2014-02-28 20:23:05 +00:00
Kevin Fenzi
dab647e6ba Put arm packager/qa in the cloud resolv.conf group. 2014-02-28 19:40:01 +00:00
Kevin Fenzi
1b19b5e7e3 Don't setup internal repos for arm03 anymore. 2014-02-28 19:36:41 +00:00
Kevin Fenzi
d4a4c0a8c6 Add qa group to arm-qa socs 2014-02-28 19:34:00 +00:00
Kevin Fenzi
f5ff614091 To the cloud! 2014-02-28 18:52:31 +00:00
Ralph Bean
15a4966388 Add new "Rock the Web" badge to the oldschoolery cronjob. 2014-02-28 14:00:04 +00:00
Ralph Bean
510973e1cd Determine process at log-time, not startup-time.
This is because things like the fedmsg-hub are daemons, and will double-fork
into the background.  If we determine the process at startup time, that original
process is long dead by the time we get to the first log statement.
2014-02-27 15:05:34 +00:00
Ralph Bean
0b54cd4623 Make that ContextInjector thing jsonifiable. 2014-02-27 15:01:09 +00:00
Ralph Bean
187b690d73 That new logging stuff requires python-psutil. 2014-02-27 14:48:49 +00:00
Ralph Bean
1b875b543f Add lots of context to fedmsg error emails. 2014-02-27 14:40:40 +00:00
Miroslav Suchý
fc0631df17 replace ${ with {{ 2014-02-27 11:42:18 +00:00
Miroslav Suchý
980ba44c59 replace $FILE with lookup() to get rid of obsolete warning 2014-02-27 11:41:31 +00:00
Miroslav Suchý
ddb56522fb let the ssh allow to connect 2014-02-27 10:53:02 +00:00
Pierre-Yves Chibon
4d7c868992 Split even more the gluster volume creation for stg/prod 2014-02-26 09:16:22 +01:00
Pierre-Yves Chibon
64ecf0e3d6 Distinguish the stg and prod gluster volumes for nuancier 2014-02-26 09:10:22 +01:00
Pierre-Yves Chibon
417152c1e4 Fix the hosts line in the nuancier playbook 2014-02-26 09:02:10 +01:00
Pierre-Yves Chibon
93c19c2c15 Should specify the gluster servers 2014-02-26 08:46:32 +01:00
Pierre-Yves Chibon
f0c436ffae Fix small typo 2014-02-26 08:42:51 +01:00
Pierre-Yves Chibon
e0e32549ff Add the gluster volume to nuancier prod as well 2014-02-26 08:42:39 +01:00
Kevin Fenzi
e352bce2b5 Enabling openvpn in fedora is sadly more complex. 2014-02-25 18:58:06 +00:00
Kevin Fenzi
a62df97226 Only in prod tho 2014-02-25 17:20:19 +00:00
Kevin Fenzi
dcf9a500dc Add openvpn to mailman instances 2014-02-25 17:19:48 +00:00
Kevin Fenzi
a17ece53c6 Fix transient cloud playbooks to use fedora user with sudo to get around stupid disable root default 2014-02-24 21:50:49 +00:00
Ralph Bean
798c1e0f5e Use that fedmsg error mailer elsewhere. 2014-02-24 20:00:19 +00:00
Ralph Bean
ad28ec6b08 fedmsg error logs work. 2014-02-24 19:59:27 +00:00
Ralph Bean
efb59e9f60 Try out mailing fedmsg errors in staging. 2014-02-24 19:38:48 +00:00
Kevin Fenzi
40a3a9381b Move fedmsg client role after bodhi roles, so the bodhi group exists. 2014-02-22 19:03:54 +00:00
Kevin Fenzi
81acc097a6 Fix ip address 2014-02-22 18:51:24 +00:00
Luke Macken
9601a54691 More tweaks to bodhi's logging configuration. No more local logs. 2014-02-21 18:59:57 +00:00
Ralph Bean
b109b8214c Increase memory on the notifs backend to try and stop the locking. 2014-02-21 17:23:49 +00:00
Stephen Smoogen
2966e0e5c1 make log04 go. make us strong. 2014-02-21 01:24:46 +00:00
Luke Macken
ec5cdb299d Ship bodhi logs to the SysLogHandler 2014-02-21 00:54:55 +00:00
Luke Macken
0cb68445f4 s/environment/env in the bodhi-prod.cfg.j2 template 2014-02-20 21:32:25 +00:00
Luke Macken
e73bce104f Enable the httpd_can_network_connect SELinux boolean for bodhi. 2014-02-20 21:04:16 +00:00
Luke Macken
989f42018a Set the fedmsg_cert group to bodhi instead of apache 2014-02-20 20:50:16 +00:00
Luke Macken
fc78e7cad5 Add bodhi01 to the fedmsg ssl.py 2014-02-20 20:44:48 +00:00
Luke Macken
75260593b2 Add bodhi01 to our fedmsg endpoints.py 2014-02-20 20:14:06 +00:00
Ralph Bean
6683f7768b Let summershum talk to the pkgs.fp.o box internally. 2014-02-20 18:46:45 +00:00
Kevin Fenzi
b4288cd9d3 Disable copr-be certs copying until we can sort them out. 2014-02-20 18:39:05 +00:00
Kevin Fenzi
48ed2666c8 iptables is in base 2014-02-19 23:06:46 +00:00
Kevin Fenzi
5d29bc1345 Setup a staging host_group and use resolv.conf for it. 2014-02-19 23:00:43 +00:00
Kevin Fenzi
f3cc32e50e Add staging group variables for bodhi too 2014-02-19 22:40:15 +00:00
Kevin Fenzi
c80775684e We need to connect to db as well. 2014-02-19 22:19:22 +00:00
Kevin Fenzi
4eaaaccb57 Add bodhi01.stg to staging group 2014-02-19 22:05:18 +00:00
Kevin Fenzi
253a86f410 Try this. 2014-02-19 22:01:17 +00:00
Kevin Fenzi
fefc75b3d1 Use copy here instead of file. 2014-02-19 21:57:59 +00:00
Kevin Fenzi
b19c53d31c This is a j2 template now. 2014-02-19 21:45:50 +00:00
Kevin Fenzi
2d93c017e0 It may be we don't need nfs role here. 2014-02-19 21:40:22 +00:00
Kevin Fenzi
09061fb7cb oooooo 2014-02-19 21:18:57 +00:00
Kevin Fenzi
b5695062c3 The humble quote 2014-02-19 21:16:18 +00:00
Kevin Fenzi
769efe6ab8 First cut at bodhi app migration to ansible. Thanks janeznemanic. Ticket 4193 2014-02-19 21:07:16 +00:00
Ralph Bean
7dc3900f4c Add pkgs to /etc/hosts for stg summershum. 2014-02-19 19:14:19 +00:00
Ralph Bean
87c60aa4cb Add sqlalchemy0.8 in for summershum. 2014-02-19 18:03:58 +00:00
Ralph Bean
03394a1591 Move fedmsg to its own play here. 2014-02-19 17:46:10 +00:00
Ralph Bean
d903e76839 A stab at summershum deployment. 2014-02-19 17:25:58 +00:00
Andrea Veri
b7060c4f29 GNOME Backups: do not backup dialog yet, no relevant data is there at all now 2014-02-19 10:54:40 +00:00
Andrea Veri
466b5c4766 GNOME Backups: drop drawable from the backups set, add dialog 2014-02-19 08:58:01 +00:00
Kevin Fenzi
01f14e4619 Add unbound to collectd 2014-02-18 00:57:14 +00:00
Kevin Fenzi
02fbe41f0e Clean up new collectd role 2014-02-18 00:49:22 +00:00
Kevin Fenzi
cd5b9dd331 Move collectd to a role instead of a task. 2014-02-18 00:46:12 +00:00
Kevin Fenzi
dc701de264 Add collectd to ask. 2014-02-18 00:36:03 +00:00
Kevin Fenzi
ae53fe801e Up nrpe limits. 2014-02-18 00:10:12 +00:00
Kevin Fenzi
cae3b20c6e Update inventory 2014-02-18 00:07:10 +00:00
Kevin Fenzi
92b5026916 Add virthost03 into the ansible mix too. 2014-02-17 21:15:33 +00:00
Kevin Fenzi
3e3e4e45c3 Add new virthost01 to the party. 2014-02-17 19:53:13 +00:00
Kevin Fenzi
cf203246cf Drop releng02 back down to 16G 2014-02-17 19:11:57 +00:00
Patrick Uiterwijk
f8b435c912 Stg uses the stg key 2014-02-16 21:24:59 +00:00
Patrick Uiterwijk
04a8e4a7c8 Merge branch 'master' of /git/ansible 2014-02-16 21:19:20 +00:00
Patrick Uiterwijk
392ee5a552 Consolidate prod and stg configs 2014-02-16 21:19:10 +00:00
Kevin Fenzi
9abd23ce3b Add fedmsg ports to ask firewall 2014-02-16 16:51:40 +00:00
Kevin Fenzi
e7239cb2f0 Clean up some blank lines in cron.d jobs. 2014-02-16 16:00:01 +00:00
Kevin Fenzi
393b32872d Add collectd to releng02 2014-02-16 15:54:54 +00:00
Ralph Bean
927f04759f Reduce libravatar badge check frequency. 2014-02-16 01:54:59 +00:00
Kevin Fenzi
5b7b9595b2 We must allow port 80 here. 2014-02-15 19:20:31 +00:00
Kevin Fenzi
3c4b6f911c Fix ask favicon. Ticket 4233 2014-02-15 18:49:32 +00:00
Patrick Uiterwijk
3df290581e This is invalid 2014-02-15 18:44:50 +00:00
Patrick Uiterwijk
094f81da8c Add FAS_HANDLE_GROUPS_MAGIC_VALUE 2014-02-15 18:43:15 +00:00
Andrea Veri
63092472d0 GNOME Backups: vbox is soon gonna be rebuilt with RHEL 7, drop it from the backups set and preserve the current backups as future reference 2014-02-15 15:05:42 +00:00
Andrea Veri
f26437b1f1 Merge branch 'master' of /git/ansible 2014-02-15 15:03:54 +00:00
Andrea Veri
c1bd6a1c66 GNOME Backups: add the new machines (accelerator, range) to the backups set 2014-02-15 15:03:30 +00:00
Patrick Uiterwijk
51a4bc5498 Only run db creation on the primary nodes so that we dont get race conditions 2014-02-14 22:17:31 +00:00
Patrick Uiterwijk
a0a41c33a8 Apparantly they should be colons 2014-02-14 21:31:37 +00:00
Patrick Uiterwijk
e43e7b564b on vh07 its apparantly vg_guests00 2014-02-14 21:31:08 +00:00
Patrick Uiterwijk
b152789b19 These are semicolons 2014-02-14 21:27:17 +00:00
Patrick Uiterwijk
ca9e882b21 Create prod fedoauth config 2014-02-14 21:24:51 +00:00
Kevin Fenzi
e3dc33b618 Adjust nrpe on releng02 2014-02-14 21:18:37 +00:00
Patrick Uiterwijk
fce243ad3a Deploy to prod as well 2014-02-14 21:18:10 +00:00
Patrick Uiterwijk
f9394aeb70 Merge branch 'master' of /git/ansible 2014-02-14 21:17:11 +00:00
Patrick Uiterwijk
881cd2a35c Add fedoauth0{1,2}.phx 2014-02-14 21:17:05 +00:00
Kevin Fenzi
9ad1edf9dd There's a dash here. 2014-02-14 21:13:32 +00:00
Kevin Fenzi
86b93efb5e Move releng02 over to buildvmhost12 to see if it makes rawhide better. 2014-02-14 20:57:04 +00:00
Kevin Fenzi
ef7ed004ab Add a cron job to delete unused ask tags every day. Ticket 4230 2014-02-14 18:16:00 +00:00
Patrick Uiterwijk
315fb71922 Add the OpenID issuer configuration 2014-02-14 14:07:39 +01:00
Pierre-Yves Chibon
250c7e921c Use a more ansible-y syntax rather than jinja's 2014-02-13 21:51:02 +01:00
Pierre-Yves Chibon
c664301bd7 Don't move the rpm/srpm if running in testing 2014-02-13 21:46:47 +01:00
Pierre-Yves Chibon
878152cbeb Always run yum clean expire-cache 2014-02-13 21:45:21 +01:00
Kevin Fenzi
4038277568 Update inventory. 2014-02-13 18:01:04 +00:00
Pierre-Yves Chibon
de4c5f6d3c Enable the infrastructure-testing repo is testing is on 2014-02-13 08:52:19 +01:00
Ralph Bean
00acd2a211 Add it to the mapping, too. 2014-02-13 02:17:07 +00:00
Ralph Bean
9dc037d36e Add the ambassadors sponsors badge to the oldschool cronjob. 2014-02-13 01:50:59 +00:00
Kevin Fenzi
54d9911f91 Move to 10min for vhost_reboot timeout. 2014-02-12 21:38:15 +00:00
Ralph Bean
6eb8225f04 Fix another typo in the oldschool badges cronjob. 2014-02-12 14:59:59 +00:00
Ralph Bean
c6911d8699 Fix syntaxerror in one of the badges cronjobs. 2014-02-12 14:20:53 +00:00
Kevin Fenzi
253c99a2d8 Add resolv.conf for tummy and telia datacenters 2014-02-12 04:25:31 +00:00
Ralph Bean
f03b006ce8 Add the videographers badge to the oldschool script. 2014-02-11 21:31:33 +00:00
Luke Macken
ca7a14d04a Add a missing quote to the extra-vars argument 2014-02-11 21:22:22 +00:00
Kevin Fenzi
5912f8b204 Restart nrpe on these 2 plays as well. 2014-02-11 20:29:56 +00:00
Kevin Fenzi
1dd4281772 Fix filenames 2014-02-11 20:26:53 +00:00
Kevin Fenzi
749c6b9930 Use correct names. 2014-02-11 20:00:37 +00:00
Kevin Fenzi
64cd952dac Split these out for now. 2014-02-11 19:58:15 +00:00
Kevin Fenzi
83c31d8487 This is a string 2014-02-11 19:50:10 +00:00
Kevin Fenzi
3f8e31d61a Indentation 2014-02-11 19:49:24 +00:00
Kevin Fenzi
d9b48ab356 Make these conditional on unbound and not phx2 2014-02-11 19:47:25 +00:00
Kevin Fenzi
faf7ba49d9 Add checks for unbound instances 2014-02-11 19:42:51 +00:00
Kevin Fenzi
b77a905a91 Add service enable/start to unbound role. 2014-02-11 18:24:39 +00:00
Kevin Fenzi
d02bcdc3b9 Install policycoreutils-python as well for semanage 2014-02-11 18:06:45 +00:00
Kevin Fenzi
ea6c98fcf0 Fix up unbound.conf copy 2014-02-11 18:02:34 +00:00
Kevin Fenzi
72b18e1951 Fix in all the places. 2014-02-11 17:32:54 +00:00
Kevin Fenzi
4b942afaf9 Just call the group unbound. 2014-02-11 17:32:25 +00:00
Kevin Fenzi
1c64975234 Add unbound role/instances migrated from puppet. Ticket 4198. Thanks adimania! 2014-02-11 17:25:56 +00:00
Pierre-Yves Chibon
e2ac4fe440 Found where the latest Warnings plugin is available 2014-02-11 17:44:05 +01:00
Pierre-Yves Chibon
b52b740104 Add support for the testing repo to the update_packages playbook 2014-02-11 13:31:05 +00:00
Pierre-Yves Chibon
d9ef700395 Update the pyflakes warning plugin 2014-02-11 14:01:23 +01:00
Pierre-Yves Chibon
7d4804ea50 Apparently the F20 builder was missing from the config file 2014-02-11 12:10:24 +01:00
Pierre-Yves Chibon
308bc82719 csv != cvs - explains the 404 error we were getting 2014-02-11 11:25:17 +01:00
Pierre-Yves Chibon
7198cc27a5 Restart jenkins after having install the plugins 2014-02-11 11:21:32 +01:00
Pierre-Yves Chibon
d95ad3e069 Add the warnings plugin to the ansible playbook 2014-02-11 10:43:48 +01:00
Patrick Uiterwijk
86ee70934f Merge branch 'master' of /git/ansible 2014-02-10 21:11:49 +00:00
Patrick Uiterwijk
a8ac414ab5 Fix this by using lower() before compare 2014-02-10 21:11:39 +00:00
Aurélien Bompard
ce990461f9 Mailman: small fixes 2014-02-10 19:22:26 +00:00
Kevin Fenzi
2b7198bd76 Move badges-web02 to vh15 2014-02-10 18:39:26 +00:00
Ralph Bean
03a1ca0abd Add trusted_openid patterns for badges. 2014-02-09 23:54:46 +00:00
Pierre-Yves Chibon
f327ef20c5 We need to declare the variable to override it in the cli 2014-02-10 00:04:51 +01:00
Pierre-Yves Chibon
0f7714cb1b Add support for signing and importing into the testing repository 2014-02-09 22:45:44 +00:00
Patrick Uiterwijk
cb5db8c149 We sign for stg.fp.o, not id.stg.fp.o 2014-02-09 21:04:39 +00:00
Patrick Uiterwijk
a29a44b87e It runs as fedoauth, so that user needs access to the config 2014-02-09 20:49:51 +00:00
Patrick Uiterwijk
3a0703ad54 Use stg db host for stg 2014-02-09 20:44:07 +00:00
Patrick Uiterwijk
38fae33b5d Make the keys private 2014-02-09 20:39:27 +00:00
Patrick Uiterwijk
9c3287314b Lets make a seperation between prod and stg in file names 2014-02-09 20:34:25 +00:00
Patrick Uiterwijk
cfe9665a68 Correct this to use the right variable 2014-02-09 20:32:20 +00:00
Patrick Uiterwijk
cbe4eb0e1c fedoauth01.stg is stg 2014-02-09 20:28:49 +00:00
Patrick Uiterwijk
f1001050a4 This is fedoauth 2014-02-09 18:20:08 +00:00
Patrick Uiterwijk
37d085b24f Using db-fas01 2014-02-09 18:15:12 +00:00
Patrick Uiterwijk
faaa683e40 Add fedoauth 2014-02-09 18:14:16 +00:00
Patrick Uiterwijk
aa91fc61bb Add fedoauth 2014-02-09 17:37:13 +00:00
Nick Bebout
3f8111283a Merge branch 'master' of /git/ansible 2014-02-09 14:28:11 +00:00
Nick Bebout
e424c4c5a0 Add sysadmin-docs to docs-backend group 2014-02-09 14:27:51 +00:00
Pierre-Yves Chibon
ea8147c1d0 Turn on boolean to allow apache on fuse 2014-02-09 09:05:54 +01:00
Pierre-Yves Chibon
554e8caa74 Try to update only one folder 2014-02-09 02:04:16 +01:00
Pierre-Yves Chibon
b7f463b041 Skip the folder creation for now 2014-02-09 02:01:48 +01:00
Pierre-Yves Chibon
b7cef497a0 Make the glusterfs folder accessible by apache 2014-02-09 01:58:49 +01:00
Pierre-Yves Chibon
6c3275fc84 Fix the creation of the pictures and cache folders for nuancier and fix their permissions 2014-02-09 01:57:50 +01:00
Pierre-Yves Chibon
de4b5bf97f Update the picture folder for nuancier to the glusterfs volume 2014-02-09 01:09:03 +01:00
Pierre-Yves Chibon
c3552250af Actually install the alembic.ini file and python-alembic 2014-02-08 16:19:24 +00:00
Pierre-Yves Chibon
7d5aa7afe8 Add and install the alembic.ini file 2014-02-08 16:17:06 +00:00
Pierre-Yves Chibon
c6c96c57bb More changes from nuancier-lite -> nuancier 2014-02-08 15:58:34 +00:00
Pierre-Yves Chibon
7011ce0e14 Stg is rolling out on nuancier not nuancier-lite 2014-02-08 15:56:00 +00:00
Pierre-Yves Chibon
d8f1b5b886 Restart gluster if we created the directory 2014-02-07 23:58:06 +01:00
Pierre-Yves Chibon
eae98a55da Ask nicely that they are directory 2014-02-07 23:53:41 +01:00
Pierre-Yves Chibon
70fdcdc594 Add port 6996 on nuancier and nuancier-stg 2014-02-07 23:37:48 +01:00
Pierre-Yves Chibon
db7116ca33 Really jinja, 1? 2014-02-07 23:31:36 +01:00
Pierre-Yves Chibon
2fa4233e67 Ruby hacks does not work on python 2014-02-07 23:29:52 +01:00
Pierre-Yves Chibon
e5fe0ff6d9 She said she needed space 2014-02-07 23:27:36 +01:00
Pierre-Yves Chibon
280c773ae7 Jinja and yaml are fun together 2014-02-07 23:25:16 +01:00
Pierre-Yves Chibon
06990b2234 Give it some space 2014-02-07 23:23:37 +01:00
Pierre-Yves Chibon
d032393f52 Remove for now 2014-02-07 23:17:59 +01:00
Pierre-Yves Chibon
167e776d36 Let's comment it out for now 2014-02-07 23:16:44 +01:00
Pierre-Yves Chibon
1bc4c1a406 Specify where to do the mount 2014-02-07 23:12:50 +01:00
Ralph Bean
0b30787631 Well that didn't work. 2014-02-07 22:03:46 +00:00
Ralph Bean
75799a5f32 Use some hostvars trickery. 2014-02-07 22:02:16 +00:00
Ralph Bean
ff73e633e8 Fix some more jinja errors and use ansible_ssh_host over ansible_hostname. 2014-02-07 21:58:33 +00:00
Ralph Bean
c983f6202b Restrictive jinja disallowed "len()" 2014-02-07 21:55:47 +00:00
Ralph Bean
f38b34d8c4 Add a handler to restart glusterd. 2014-02-07 21:54:15 +00:00
Ralph Bean
e462a294ec Construct this correctly. 2014-02-07 21:50:17 +00:00
Ralph Bean
b070ef772b Supply a "name". 2014-02-07 21:48:53 +00:00
Ralph Bean
3de2b17204 Quote those. 2014-02-07 21:42:33 +00:00
Ralph Bean
8a61b7791a Remove indentation. 2014-02-07 21:41:47 +00:00
Ralph Bean
55b08d5a52 First stab at a gluster role for the nuancier staging nodes. 2014-02-07 21:36:24 +00:00
Kevin Fenzi
00de58c594 Fix copypasta 2014-02-06 21:22:09 +00:00
Kevin Fenzi
5dcb09537d Add bodhi.dev cloud instance 2014-02-06 21:14:12 +00:00
Kevin Fenzi
77c7ea987f Adjust services for rhel buildhw 2014-02-06 17:53:16 +00:00
Kevin Fenzi
902afe8a72 Only check grub1 on x86 hw, not ppc 2014-02-06 17:26:32 +00:00
Kevin Fenzi
cddcb75d84 This isn't defined on arm 2014-02-06 17:18:07 +00:00
Kevin Fenzi
d2ba50fc29 No grub2 on arm 2014-02-06 17:09:46 +00:00
Kevin Fenzi
6e4e48d8b3 It's conf with grub1 2014-02-06 17:04:04 +00:00
Kevin Fenzi
7dc5b9151e Need to sort this out, but this should work fine for now. 2014-02-06 17:02:18 +00:00
Kevin Fenzi
d2ea2b1e63 Pull builder kernel task into koji_builder role. 2014-02-06 16:57:18 +00:00
Stephen Smoogen
417471d978 Now remove proxy05/proxy5 app06/app6 from ansible. 2014-02-04 20:59:01 +00:00
Kevin Fenzi
25e545ed5d Enable Hungarian in ask production. Ticket 4214 2014-02-04 19:07:07 +00:00
Aurélien Bompard
15503efdc9 Mailman: don't auto-redirect to SSL
In the Fedora infra, SSL is handled by the proxy and we can't detect it.
2014-02-04 09:04:44 +00:00
Kevin Fenzi
e9faa5079e Fix this up some. 2014-02-04 00:06:09 +00:00
Kevin Fenzi
234f2825be Add semanage for ports 2014-02-03 23:56:49 +00:00
Kevin Fenzi
1d85587606 Enable hungarian in ask.stg to test. 2014-02-03 22:55:28 +00:00
Ralph Bean
da287c5f1c Use chat.freenode.net over irc.freenode.net. 2014-02-03 22:03:01 +00:00
Ralph Bean
578365bc34 Bump fedmsg endpoints for fas and pkgdb to agree with the number of wsgi processes. 2014-02-03 22:01:17 +00:00
Patrick Uiterwijk
a941b10d63 Add hotfix for python-openid 2014-02-03 19:50:52 +00:00
Patrick Uiterwijk
ecf064d030 Merge branch 'master' of /git/ansible 2014-02-03 19:46:34 +00:00
Kevin Fenzi
2caf90aed2 Enable Simplified Chinese in production. Ticket 4208. 2014-02-03 17:15:26 +00:00
Matt Domsch
5ab222ea2a use mirrorlist-server.conf from v1.4.4 2014-02-03 16:23:21 +00:00
Aurélien Bompard
d4ca13001a Mailman: sudo requires a tty 2014-02-03 12:05:03 +00:00
Aurélien Bompard
42c77051f4 Use the new variable substitution syntax 2014-02-03 11:33:29 +00:00
Aurélien Bompard
b64262922c Install psycopg2 on the DB servers 2014-02-03 11:31:37 +00:00
Aurélien Bompard
159115f3d3 Mailman: the DB server is different in stg and prod 2014-02-03 11:11:21 +00:00
Miroslav Suchý
999677b572 define buildsys macros
for some reason buildsys-macros is not installed in default buildroot
it works localy, but not in Copr. I spent a lot of time debuging it
But enough is enough. Lets solve it this way.
2014-02-03 09:55:32 +00:00
Kevin Fenzi
d83256b106 Make the ansible check diff run serial instead of parallel. 2014-02-03 05:04:01 +00:00
Kevin Fenzi
4a9ee86575 Adjust ask01.stg zh locale. 2014-02-01 17:43:40 +00:00
Kevin Fenzi
438aca0049 Give up for now. 2014-02-01 00:10:25 +00:00
Kevin Fenzi
3325113b5e Single quotes? 2014-02-01 00:10:02 +00:00
Kevin Fenzi
0768a03c57 Back to this to test more. 2014-02-01 00:08:44 +00:00
Kevin Fenzi
7fa2e11fa5 One last try 2014-01-31 23:51:11 +00:00
Kevin Fenzi
15f596183f Perhaps this 2014-01-31 23:42:08 +00:00
Kevin Fenzi
203aff15b9 This is silly, but try it anyhow. 2014-01-31 23:37:44 +00:00
Kevin Fenzi
5ee49f57fb This should just be zh I think. 2014-01-31 22:31:33 +00:00
Kevin Fenzi
16f3769117 Add armpkgs to hosts for arm builders. 2014-01-31 18:32:58 +00:00
Kevin Fenzi
8baa7720e7 Adjust backup excludes to be more right. 2014-01-31 16:10:47 +00:00
Pierre-Yves Chibon
274d7993ce Instead of keeping the jenkins plugins in git, let's download them and check their sha256 2014-01-30 19:19:16 +01:00
Aurélien Bompard
7da961cc1c Mailman: small fixes discovered with lists-dev 2014-01-30 10:42:02 +00:00
Kevin Fenzi
4effa2c2c0 Do not backup the git_seed stuff on pkgs01 2014-01-30 04:21:15 +00:00
Ralph Bean
789e1d7814 Disable this relay endpoint since apparently copr-be.cloud can find it. 2014-01-29 22:01:37 +00:00
Miroslav Suchý
f33ed0f4fc enable fedmsg on copr-be 2014-01-29 21:59:55 +00:00
Ralph Bean
99286867db Need this for lokkit on f19. 2014-01-29 21:33:27 +00:00
Ralph Bean
1ca4f5ed0d Fix copr fedmsg cert name. 2014-01-29 21:16:33 +00:00
Ralph Bean
ed9133b7c0 Reduce avatar cache expiry (badges) 2014-01-29 19:38:41 +00:00
Patrick Uiterwijk
f1aa4ab7c1 Hotfix python-openid 2014-01-29 01:11:17 +00:00
Patrick Uiterwijk
3dad76a61e Merge branch 'master' of /git/ansible 2014-01-29 01:10:40 +00:00
Patrick Uiterwijk
14dc12d5c9 Prepare for python-openid hotfix 2014-01-29 01:10:21 +00:00
Ralph Bean
eb66da624b s/semanage/semodule/ 2014-01-28 19:57:21 +00:00
Ralph Bean
091a117c4f A custom selinux module for fedmsg. 2014-01-28 19:51:26 +00:00
Ralph Bean
e05439c3c6 Add fedocal fedmsg endpoints. 2014-01-28 18:51:52 +00:00
janez.nemanic
79773578b5 Add pyflakes parser to jenkins 2014-01-28 08:32:59 +01:00
Kevin Fenzi
68be0f0f3c Drop accel from buildhw, the arm network isn't allowing it. 2014-01-27 23:57:45 +00:00
Kevin Fenzi
5e73d51832 More hackery 2014-01-27 16:57:37 +00:00
Kevin Fenzi
7461ae9870 Gross hack for now until I figure a better way to share this 2014-01-27 16:37:42 +00:00
Kevin Fenzi
46e456de79 Dont add netapp route on arm machines. 2014-01-26 01:57:30 +00:00
Kevin Fenzi
b02fc093b2 Move ) to the right place. 2014-01-26 01:36:43 +00:00
Kevin Fenzi
28c71b2501 Exclude arm here too. 2014-01-26 01:30:36 +00:00
Kevin Fenzi
1a7fefbe68 Fix typo with arm repos 2014-01-26 01:10:38 +00:00
Kevin Fenzi
f2799983ec Change this to just running. 2014-01-25 19:42:21 +00:00
Kevin Fenzi
f1e5089967 Move kojid restart to after hosts file setup task 2014-01-25 19:39:56 +00:00
Kevin Fenzi
1ec4410d43 Drop some iptables restarting thats not needed. 2014-01-25 19:29:37 +00:00
Kevin Fenzi
0c3a84f841 Add kojid handler 2014-01-25 19:24:19 +00:00
Kevin Fenzi
18a98f6ed1 FIx typo 2014-01-25 19:14:03 +00:00
Kevin Fenzi
e1b2563940 Move base_builder task over to a new koji_builder role and clean up. 2014-01-25 19:12:29 +00:00
Kevin Fenzi
cf270b1f6e d it's got a d 2014-01-25 18:47:42 +00:00
Kevin Fenzi
4ce16944b9 More cleanup, audit and rsyslog 2014-01-25 18:45:57 +00:00
Kevin Fenzi
2d9e1d1f10 rpcbind is static in f20, no need to enable it. 2014-01-25 18:19:23 +00:00
Kevin Fenzi
5dd9b5f4a9 More tweaking to the buildvm tasks 2014-01-25 18:14:15 +00:00
Kevin Fenzi
0542974bab Try this on conditionals. 2014-01-25 18:04:45 +00:00
Kevin Fenzi
9d77ed603e Notify rsyslog on adding new rsyslog.d snippets. 2014-01-25 18:04:30 +00:00
Kevin Fenzi
9c0addf17c More cleanup, use fileglob 2014-01-25 17:57:18 +00:00
Kevin Fenzi
3dbc402ec4 These are in a subdir. 2014-01-25 17:50:43 +00:00
Kevin Fenzi
0844a05bf0 Rework rsyslog stuff. Use default dist /etc/rsyslog.conf, add our stuff to /etc/rsyslog.d 2014-01-25 17:45:38 +00:00
Kevin Fenzi
899cff9492 Some more cleanup. 2014-01-24 23:51:45 +00:00
Kevin Fenzi
0f3395189e Another attempt 2014-01-24 23:46:07 +00:00
Kevin Fenzi
fd6119bd4d Still ssh keys comments issues. :( 2014-01-24 23:39:35 +00:00
Kevin Fenzi
dfa9e5339e More idempotent 2014-01-24 23:37:08 +00:00
Kevin Fenzi
d17fd8236a Work around this for now. 2014-01-24 23:26:03 +00:00
Kevin Fenzi
31a46523a1 Add yum repos setup to buildvm's 2014-01-24 22:49:01 +00:00
Kevin Fenzi
588722a9e8 Cull global packages, add ansible accel mode to kojibuilders. 2014-01-24 22:27:34 +00:00
Kevin Fenzi
de9c00f1ba Switch buildvm's over to f20 for reinstalling. 2014-01-24 21:34:24 +00:00
Ralph Bean
03be7b46c9 Add symlink for fmn.web fedora theme. 2014-01-24 21:17:50 +00:00
Ralph Bean
54d88840d5 Add an nrpe command definition for checking the presence of the fedmsg hub. 2014-01-24 20:55:33 +00:00
Ralph Bean
d6afd943b2 No need for notifs backend to be on the vpn. 2014-01-24 20:04:18 +00:00
Ralph Bean
060f9f2eb9 hosts files for fmn prod nodes. 2014-01-24 19:50:40 +00:00
Ralph Bean
b7ff972cbd Host definitions for the fmn prod nodes. 2014-01-24 19:47:15 +00:00
Kevin Fenzi
0494a018a6 Add simple script that runs --check --diff playbook runs on all hosts/groups. 2014-01-24 16:59:46 +00:00
Kevin Fenzi
083b631c29 Remove debug_env role from ask now. 2014-01-24 16:43:57 +00:00
Kevin Fenzi
49c42fc8b2 Adjust role 2014-01-24 16:40:58 +00:00
Kevin Fenzi
79bd4c3a21 Test debug_env 2014-01-24 16:35:42 +00:00
Kevin Fenzi
389600314b only_if is going bye bye. 2014-01-24 16:34:05 +00:00
Kevin Fenzi
4e127e63ed Add debug_env role for debugging needs down the road. 2014-01-24 16:31:33 +00:00
Kevin Fenzi
76eb4b0f04 Sadly, this will not work. :( 2014-01-24 16:30:23 +00:00
Kevin Fenzi
76951c0b1d Test a roles_path idea. 2014-01-24 16:25:53 +00:00
Miroslav Suchý
89a74383d7 add releasever - BZ 1056039 2014-01-24 08:39:42 +00:00
Ralph Bean
324721e3f3 Disable alternative openids for fmn for now. 2014-01-23 21:41:59 +00:00
Ralph Bean
3b179a2ce6 Remove bogus config. 2014-01-23 21:34:32 +00:00
Ralph Bean
d40a72f7f5 Initialize fmn logging. 2014-01-23 21:23:53 +00:00
Ralph Bean
75d3b045fc Add these two, too. 2014-01-23 21:08:59 +00:00
Ralph Bean
1a791a6e0e Point the fmn frontend at datanommer. 2014-01-23 21:06:02 +00:00
Kevin Fenzi
58b8b85ef0 Move fedmsg_base role to the last one to allow ownership of keys files to work right hopefully. 2014-01-23 18:15:18 +00:00
Kevin Fenzi
206ed3f776 Now that we have roles_path, drop the long path on all the roles. 2014-01-23 17:12:40 +00:00
Kevin Fenzi
406474a374 Move the kernel-qa playbook to manual. The kernel team manages those day to day. 2014-01-23 17:00:26 +00:00
Kevin Fenzi
dfbd43862b Disable releng01 for now, since we have no branched. 2014-01-23 16:39:26 +00:00
Kevin Fenzi
de1c4695d4 Fix syntax errors in copr-be playbook 2014-01-23 16:25:27 +00:00
Miroslav Suchý
3b4edc4ade fine tune SpareServers on copr-fe and allow server-status
so I can see what is happening there
2014-01-23 12:13:11 +00:00
Ralph Bean
a692918cbb Supply fas credentials to the fmn backend.
..so that it can build a cache of fas usernames to ircnicks.
2014-01-23 01:51:31 +00:00
Kevin Fenzi
957851378e Fix up these too. 2014-01-22 21:53:50 +00:00
Kevin Fenzi
18ec0ff132 equality 2014-01-22 21:51:53 +00:00
Kevin Fenzi
1a1f1fb2ca Try to clean this up so it doesn't show failed or changed when it isn't 2014-01-22 21:50:52 +00:00
Kevin Fenzi
5a58c171f8 Lets make this a _ to be nicer 2014-01-22 21:16:39 +00:00
Ralph Bean
474fef8661 Try to silence fedmsg for --check runs. 2014-01-22 20:48:05 +00:00
Kevin Fenzi
ffcff93ce8 Add check diff to ansible logging 2014-01-22 20:32:05 +00:00
Kevin Fenzi
dfd57eb6ce Enable greek and indonesian on ask.fedora production site 2014-01-22 20:13:53 +00:00
Miroslav Suchý
95f02d8990 fix ownership of copr-be.conf and typo in generating pem file 2014-01-22 19:23:43 +00:00
Miroslav Suchý
72e1714301 add missing handlers 2014-01-22 16:39:08 +00:00
Miroslav Suchý
ec955a7b2e add patched scl-utils to builder repo 2014-01-22 16:35:11 +00:00
Miroslav Suchý
c323027b81 add coprs admin to .forward 2014-01-22 16:35:11 +00:00
Ralph Bean
782e80bc50 Modernize vars in fmn roles. 2014-01-22 16:12:24 +00:00
Ralph Bean
b4ea2a7bcd Cache settings for the fmn backend. 2014-01-22 16:06:41 +00:00
Miroslav Suchý
ea1dc27076 deploy real cers on copr-be 2014-01-22 15:44:40 +00:00
Aurélien Bompard
7c40bb7e8a lists-dev: setenforce and fix aliases perms 2014-01-22 10:38:47 +00:00
Kevin Fenzi
693f1ca2d0 Add ansible-server role 2014-01-21 19:55:59 +00:00
Kevin Fenzi
2e909f8205 Add pt-br to production askbot. 2014-01-21 19:35:55 +00:00
Kevin Fenzi
821aae5366 Setup basic lockbox-comm01.qa instance. 2014-01-21 19:27:36 +00:00
Kevin Fenzi
3a196043c6 It's lower case br 2014-01-21 18:16:25 +00:00
Kevin Fenzi
c47880a60f Add some languages to staging to test 2014-01-21 18:11:35 +00:00
Kevin Fenzi
da98f8f0f3 Try a hotfix for the broken feedback issue. 2014-01-21 18:00:36 +00:00
Kevin Fenzi
7b8a7104bf Add a askbot hotfix file. 2014-01-21 17:59:52 +00:00
Miroslav Suchý
9457dd2760 add dist tag and rhel7 to el7 mock config 2014-01-21 13:50:43 +00:00
Kevin Fenzi
e6c2d426b3 Add some more sebooleans for ask 2014-01-21 00:28:17 +00:00
Kevin Fenzi
dce6baa832 Hacky workaround for icon issue with fedora openid 2014-01-20 23:44:40 +00:00
Kevin Fenzi
1dc3f79b86 Add ask01 to ansible too. 2014-01-20 22:58:53 +00:00
Kevin Fenzi
116e7006ec Add memcache sebool 2014-01-20 22:33:12 +00:00
Miroslav Suchý
dbe1e5df67 apply change to mock epel5 config
mock in epel6 changed, and we need this change (takend from F20 config of mock)
to successfuly build el5 package

addressing:
DEBUG util.py:281:  error: cannot write to %sourcedir /usr/src/redhat/SOURCES
2014-01-20 20:53:58 +00:00
Aurélien Bompard
023eded377 Fix a YAML syntax problem, at last 2014-01-20 19:01:32 +00:00
Kevin Fenzi
e5aad94914 Add mailman01/02 to production. 2014-01-20 19:01:12 +00:00
Aurélien Bompard
51024371d3 Mailman: update the variable substitution syntax 2014-01-20 18:55:55 +00:00
Aurélien Bompard
2ef37ad740 Fix a YAML syntax problem 2014-01-20 18:47:46 +00:00
Aurélien Bompard
697b3eddb7 Mailman: improve post-update script 2014-01-20 18:37:43 +00:00
Kevin Fenzi
fd38240f90 Commit ask02 stuff to ansible. 2014-01-20 18:13:56 +00:00
Aurélien Bompard
2e2100319f Mailman: parametrize the role 2014-01-20 17:56:53 +00:00
Kevin Fenzi
193d5c8337 Fix this lang thing the correct way. 2014-01-20 17:26:28 +00:00
Kevin Fenzi
2bf861fb4d Immport gettext 2014-01-20 17:21:59 +00:00
Kevin Fenzi
7b38b40873 Fix languages setting for askbot 2014-01-20 17:15:16 +00:00
Kevin Fenzi
935277bfea Adjust settings template some. Put stg/prod changes in one place. 2014-01-19 22:16:50 +00:00
Kevin Fenzi
55a3e42c62 Add cron to delete old undelivered emails. Add subset of languages we want to support. 2014-01-19 21:37:14 +00:00
Kevin Fenzi
f2f2093bd2 Add settings needed for multi lang support 2014-01-18 18:43:51 +00:00
Kevin Fenzi
785ce4ff87 Run collectstatic before trying to apply hotfixes. 2014-01-17 18:59:43 +00:00
Kevin Fenzi
6822f97cda Turns out we can disable identi.ca via settings.
Also re-add cache timeout because it complains about it.
2014-01-17 18:28:53 +00:00
Kevin Fenzi
52f4cbe590 See if this gets rid of the identica share button. 2014-01-17 18:19:54 +00:00
Kevin Fenzi
dfcac4ffa6 Remove identa.ca from ask.stg hopefully. 2014-01-17 18:09:15 +00:00
Kevin Fenzi
56cde2b40a Add this too for askbot 2014-01-17 18:01:36 +00:00
Kevin Fenzi
7f257b854d askbot still does need this one. ;( 2014-01-17 17:56:46 +00:00
Aurélien Bompard
1fd81df74a mailman: typo 2014-01-17 17:56:30 +00:00
Kevin Fenzi
429725e69e Update settings to rid ourselves of depreciation notices. 2014-01-17 17:52:28 +00:00
Aurélien Bompard
48d9ebf522 lists-dev: add missing handler 2014-01-17 17:50:56 +00:00
Aurélien Bompard
c6852a889a Make the lists-dev playbook closer to the mailman group 2014-01-17 17:17:28 +00:00
Aurélien Bompard
a43be7abbb Use the new-style variable substitution 2014-01-17 16:09:57 +00:00
Aurélien Bompard
e66c937bf5 Fix the URL to the repo file 2014-01-17 16:05:28 +00:00
Aurélien Bompard
603ea16820 Fix a syntax error, yet again 2014-01-17 16:02:18 +00:00
Aurélien Bompard
34c38adfe0 Fix a syntax error, again 2014-01-17 15:39:23 +00:00
Aurélien Bompard
47e672cf38 Fix a syntax error 2014-01-17 15:37:40 +00:00
Ralph Bean
5e51be733b Correct the logic for checking group membership when awarding old group badges.
Reviewed by Patrick Uiterwijk.
2014-01-17 15:01:46 +00:00
Aurélien Bompard
13b6d6f85a Uniformize indentation (whitespaces only) 2014-01-17 11:10:54 +00:00
Aurélien Bompard
eefdd1b23c Minor syntax fixes 2014-01-17 11:01:27 +00:00
Aurélien Bompard
b2e8e6020a Use the mailman role for lists-dev 2014-01-17 11:01:27 +00:00
Kevin Fenzi
17f003db5b Drop user data here too. 2014-01-17 04:43:49 +00:00
Kevin Fenzi
1f0ee84997 apache group on the askbot cert 2014-01-16 22:24:11 +00:00
Kevin Fenzi
805310c8f3 Add fedmsg certs for ask01.stg 2014-01-16 22:21:09 +00:00
Kevin Fenzi
7b90a538ea ask01.stg fixes. Add fedmsg_base, fix settings to include celery for now. 2014-01-16 22:12:53 +00:00
Ralph Bean
25a1b7b53c Add the new ronin badge to the oldschool script. 2014-01-16 15:40:20 +00:00
Ralph Bean
50a49a5378 Modernize variables in the badges-frontend role. 2014-01-16 14:56:14 +00:00
Kevin Fenzi
5e61d476e9 Remove user_data until I can figure out how to make it work. 2014-01-15 16:50:37 +00:00
Kevin Fenzi
d022f58e94 Incease size of lists-dev and make f19 instance 2014-01-15 16:30:46 +00:00
Miroslav Suchý
08b3569ed6 setup copr-fe to use https
selfigned certs, not stored here.
It will be replaced in matter of days by properly signed certs, which we store in private repo
2014-01-15 13:32:05 +00:00
Miroslav Suchý
b1dfce5353 setup copr-be to use https
selfigned certs, not stored here.
It will be replaced in matter of days by properly signed certs, which we store in private repo
2014-01-15 13:32:05 +00:00
Andrea Veri
c381898d11 GNOME Backups: drop legacy ansible variables and make sure every description has GNOME in it to avoid misunderstandings 2014-01-14 18:26:57 +00:00
Andrea Veri
ad8b05b155 GNOME Backups: drawable.gnome.org has no public IP anymore, make sure rdiff-backup forwards his agent through bastion 2014-01-14 18:12:51 +00:00
Miroslav Suchý
457decc25f [copr] add epel7 config 2014-01-14 11:31:35 +00:00
Aurélien Bompard
7b744d074e Mailman: sync with recent developments 2014-01-14 07:56:52 +00:00
Kevin Fenzi
869a1965b3 Nuke bacula. 2014-01-13 20:12:26 +00:00
Kevin Fenzi
c67dc5f94c Add db-datanommer01 to backups on backup03 2014-01-13 20:06:40 +00:00
Ralph Bean
5e32fe5643 Move postgres backup cron task inside a bash flavored script. 2014-01-13 16:16:27 +00:00
Kevin Fenzi
a41fb3da66 Use the right owner/group this time. ;) 2014-01-10 22:20:37 +00:00
Kevin Fenzi
d350b9bc66 Fix initial log ownership for ask 2014-01-10 22:18:27 +00:00
Kevin Fenzi
d15b70251a Pull askbot from epel-testing for now. 2014-01-10 21:50:12 +00:00
Ralph Bean
12b88b57a1 Cron backups for db-datanommer01. 2014-01-10 21:29:20 +00:00
Ralph Bean
18100deb21 Remove unused pg_hba.conf.j2 file. 2014-01-10 21:27:45 +00:00
Ralph Bean
db6fdf9bb0 Add a second config file for postgresql. 2014-01-10 20:52:18 +00:00
Ralph Bean
c1a97c4a40 Add a postgres config to the postgres role. 2014-01-10 20:40:08 +00:00
Ralph Bean
62066cdc08 Point badges backend at the new datanommer db host. 2014-01-10 20:12:14 +00:00
Kevin Fenzi
ed25d05c43 Move group variables into host in this case. 2014-01-10 19:01:52 +00:00
Kevin Fenzi
8cc4c30647 Add db-datanommer01, clean up postgres playbooks to be generic and not koji specific. 2014-01-10 18:56:25 +00:00
Toshio くらとみ
7a3df53822 Merge branch 'master' of /git/ansible 2014-01-09 21:00:06 +00:00
Toshio くらとみ
741ee1ce5f Remove the files implementing python-fedora hotfixes. They're all in the latest packages 2014-01-09 20:59:46 +00:00
Kevin Fenzi
b306589264 Add datagrepper02 to inventory 2014-01-09 20:56:53 +00:00
Kevin Fenzi
7488893d21 Setup hosts for ask01 and tweak template. 2014-01-09 20:50:59 +00:00
Toshio くらとみ
c3ed8a0145 Remove python-fedora hotfixes 2014-01-09 20:47:26 +00:00
Kevin Fenzi
afb69f368a Add booleans for db connect to ask 2014-01-09 20:23:08 +00:00
Kevin Fenzi
0d1addb56e Update settings. 2014-01-09 20:21:20 +00:00
Kevin Fenzi
9f3511ff1d Fix settings.py permissions on ask01.stg. 2014-01-09 19:51:35 +00:00
Ralph Bean
c14eb4b78f Remove fedmsg endpoints for the old trac plugin. 2014-01-09 17:33:34 +00:00
Kevin Fenzi
2f0c72bf3b Another correction 2014-01-09 17:30:57 +00:00
Kevin Fenzi
2511d5ef8b Fix path to use the configured static content 2014-01-09 17:29:22 +00:00
Kevin Fenzi
4215e7099f askbot is noarch too. dho. 2014-01-09 17:27:14 +00:00
Kevin Fenzi
bc649da212 Adjust for noarch python modulles, add some more packages that need to be installed. 2014-01-09 17:24:49 +00:00
Kevin Fenzi
2ec4227667 These may not be needed anymore, comment them out for now. 2014-01-09 17:21:05 +00:00
Kevin Fenzi
9be90c30bf 64 screaming bits 2014-01-09 17:19:05 +00:00
Kevin Fenzi
5a9f82f374 Merge branch 'master' of /git/ansible 2014-01-09 17:16:39 +00:00
Ralph Bean
ec5445bf17 Fix up the sign_and_import playbook. 2014-01-09 17:16:30 +00:00
Kevin Fenzi
a189e3c9c2 We need compressor too 2014-01-09 17:16:28 +00:00
Kevin Fenzi
ad5da94197 It's endif in jinja2 2014-01-09 17:12:15 +00:00
Kevin Fenzi
7e3d5a3062 Missed a few :s 2014-01-09 16:57:49 +00:00
Kevin Fenzi
026a6f8919 ansible doesn't like : in names. :) 2014-01-09 16:57:13 +00:00
Kevin Fenzi
c9e3508451 Add ask01.stg and first cut at ask playbook and roles to ansible. 2014-01-09 16:50:45 +00:00
Miroslav Suchý
38c8cc5553 use new ansible syntax
addressing:
 [DEPRECATION WARNING]: Legacy variable substitution, such as using ${foo} or
$foo instead of {{ foo }} is currently valid but will be phased out and has
been out of favor since version 1.2. This is the last of legacy features on our
deprecation list. You may continue to use this if you have specific needs for
now. This feature will be removed in version 1.6. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
2014-01-09 11:15:10 +00:00
Kevin Fenzi
835b45100a Move credentials over to private 2014-01-09 01:13:34 +00:00
Till Maas
6155d32d7d Add fetch-ssh-keys 2014-01-08 23:40:52 +01:00
Kevin Fenzi
b9ff6d133d Revert "Move accelerate: true to global vars."
This reverts commit 0953ea5efa.

Looks like this doesn't work as a var, and accel might just get dropped in favor of new ssh soon.
2014-01-08 20:35:05 +00:00
Kevin Fenzi
0953ea5efa Move accelerate: true to global vars. 2014-01-08 19:28:00 +00:00
Kevin Fenzi
136866729f Clean up some more old syntax 2014-01-08 17:42:18 +00:00
Ralph Bean
a97ce78813 More syntax modernization. 2014-01-08 16:29:20 +00:00
Ralph Bean
a44d82f494 Remove temporary debugging. 2014-01-08 16:27:08 +00:00
Kevin Fenzi
2718b39cba Bump badges-backend to 6gb ram 2014-01-08 01:15:49 +00:00
Ralph Bean
ea1cf51810 Some fixes for that new "badge off" badge. 2014-01-07 21:12:38 +00:00
Ralph Bean
b5207ad26d Add cronjob for awarding the "Badge Off" badge. 2014-01-07 21:03:20 +00:00
Kevin Fenzi
c377d22903 Try and make it so growpart doesn't show changed if it didn't change anything. 2014-01-07 19:54:00 +00:00
Kevin Fenzi
fc61ec5770 More quotes 2014-01-07 19:23:02 +00:00
Kevin Fenzi
803cc22ef7 Quote: one who says something witty will be remembered forever - anonymous 2014-01-07 19:05:18 +00:00
Kevin Fenzi
ab21a8dc9f Clean up host_vars. Move everything to new ssh key, fix old syntax. 2014-01-07 19:02:48 +00:00
Kevin Fenzi
9dc34181ba Add elections01.stg to staging and sort group 2014-01-07 17:25:16 +00:00
Kevin Fenzi
18ae748d02 Add a manual playbooks subdir for playbooks that are only ever manually run. 2014-01-07 17:16:22 +00:00
Kevin Fenzi
cc7c6d6b09 Fix a stray old variable syntax 2014-01-07 17:16:04 +00:00
Kevin Fenzi
a06d5544bd Correct name 2014-01-07 17:14:13 +00:00
Kevin Fenzi
c8ad333687 Add elections to ansible 2014-01-07 17:12:09 +00:00
Kevin Fenzi
e53ee4327f Add noc01 external ip to denyhosts whitelist 2014-01-07 03:29:40 +00:00
Kevin Fenzi
6b04cd0a7f Up the nrpe limits to stop the pile of alerting 2014-01-07 03:19:21 +00:00
Kevin Fenzi
740ce5dc7c Another attempt 2014-01-07 00:55:33 +00:00
Kevin Fenzi
3631e708b8 Another stab, perhaps json? 2014-01-07 00:49:59 +00:00
Kevin Fenzi
134572d9cc Try this one for user_data 2014-01-07 00:38:22 +00:00
Toshio くらとみ
f3ef23eebf Disable python-fedora hotfix of nuancier in stg 2014-01-06 23:06:43 +00:00
Toshio くらとみ
2389fa4bea Disable python-fedora hotfix for fedocal in stg 2014-01-06 23:05:06 +00:00
Toshio くらとみ
688d37edfe Make python-fedora hotfix only apply to prod (update in stg shouldn't need it) 2014-01-06 23:02:54 +00:00
Kevin Fenzi
e1b50b3a35 Another attempt 2014-01-06 22:58:33 +00:00
Kevin Fenzi
041fc44463 How about this one? 2014-01-06 22:56:57 +00:00
Kevin Fenzi
bf99a15cb0 Lets try this. 2014-01-06 22:53:35 +00:00
Kevin Fenzi
e2c77afff8 Another tweak 2014-01-06 22:44:30 +00:00
Kevin Fenzi
cd10ff31da Add some more vars 2014-01-06 22:42:09 +00:00
Kevin Fenzi
d9f4c98b8d Try this 2014-01-06 22:38:15 +00:00
Kevin Fenzi
3ba97ea0be Add a f20 temp instance playbook 2014-01-06 22:35:41 +00:00
Kevin Fenzi
50a046f114 Also add to transient cloud 2014-01-06 22:34:10 +00:00
Kevin Fenzi
e408633b86 Stab at disabling the anoying login as fedora junk in fedora cloud images. 2014-01-06 22:33:00 +00:00
Kevin Fenzi
e8da1a05a0 Remove comment from keys names for ansible bug 2014-01-06 22:26:45 +00:00
Kevin Fenzi
a6ea02adc1 Work around ansible bug 5432 2014-01-06 22:23:07 +00:00
Kevin Fenzi
d5cd46afde logstash to f20, use new correct keys 2014-01-06 22:03:47 +00:00
Ralph Bean
9d903a70f1 Further bugfixes to the lifecycle cronjob. 2014-01-06 21:30:58 +00:00
Ralph Bean
c45f1781cd Two typofixes to the lifecycle cronjob. 2014-01-06 21:11:30 +00:00
Ralph Bean
b563090860 Cronjob to award the fas "lifecycle" badges. 2014-01-06 20:35:26 +00:00
Andrea Veri
dd4aa27279 GNOME Backups: drop the --force flag, the first rdiff-backup run will end soon with success 2014-01-06 19:40:37 +00:00
Kevin Fenzi
2e957cf3db Typo city, welcome to monday. :) 2014-01-06 18:53:28 +00:00
Kevin Fenzi
1b8e616ad4 rename taskbot to taskotron 2014-01-06 18:33:51 +00:00
Kevin Fenzi
b929678ff1 Hard code vars_path for now. 2014-01-06 18:22:18 +00:00
Kevin Fenzi
16b0f71f3a Try this 2014-01-06 17:52:58 +00:00
Kevin Fenzi
67bc3b4920 vars is reserved, use vars_path for variable path 2014-01-06 17:49:22 +00:00
Kevin Fenzi
86fff66e19 Merge branch 'master' of /git/ansible 2014-01-06 17:34:58 +00:00
Kevin Fenzi
7fdc2ab99b Add default el6 sshd_config for now. 2014-01-06 17:34:44 +00:00
Ralph Bean
f35f4d1b5d Simplify that. 2014-01-06 17:34:43 +00:00
Ralph Bean
b6e8baff43 Add some temporary debugging. 2014-01-06 17:33:51 +00:00
Miroslav Suchý
e0f417425f give sgallagh and nb access to copr machines 2014-01-06 14:05:55 +00:00
Kevin Fenzi
7ca9dcb3af Tweak role 2014-01-02 02:16:51 +00:00
Kevin Fenzi
ecf8920ade When defined 2014-01-02 00:42:12 +00:00
Kevin Fenzi
e286673702 Fix typo and put arm-qa playbook back to the way it was. 2014-01-01 23:59:20 +00:00
Kevin Fenzi
b5cdb8576e Huh. Try this again 2014-01-01 23:30:30 +00:00
Kevin Fenzi
131c180dc8 That didn't work 2014-01-01 22:35:08 +00:00
Kevin Fenzi
27f614f9fe Another stab at it. 2014-01-01 22:34:00 +00:00
Kevin Fenzi
7e79ed0c8e Try this to work around the expansion issue 2014-01-01 22:32:10 +00:00
Kevin Fenzi
747eff6066 ok, why doesn't this work? 2014-01-01 22:24:12 +00:00
Kevin Fenzi
136810fe96 Fix up all the group vars to use new variable syntaax 2014-01-01 22:22:38 +00:00
Kevin Fenzi
a356dd16eb Fix global vars, work around an include issue 2014-01-01 21:53:09 +00:00
Kevin Fenzi
7d0c6432af Need a 18 one of these for another few weeks. 2014-01-01 21:44:54 +00:00
Kevin Fenzi
4bd90f8e28 Fix some more syntax 2014-01-01 21:33:06 +00:00
Kevin Fenzi
d507b1e116 Fix path to files 2014-01-01 21:07:56 +00:00
Kevin Fenzi
79a0601421 Space issues. 2014-01-01 21:02:53 +00:00
Kevin Fenzi
342a22a5a3 We should merge this with base role or figure out a better way. 2014-01-01 20:54:28 +00:00
Kevin Fenzi
b25c32c5da This has to be expanded. Try this syntax 2014-01-01 20:45:59 +00:00
Kevin Fenzi
063f293ba8 Always run growpart on check because we use the result. 2014-01-01 20:41:26 +00:00
Kevin Fenzi
72478b0264 Tweak for loop syntax 2014-01-01 20:20:12 +00:00
Kevin Fenzi
4af3a2ec32 ERROR: chdir is not a legal parameter in an Ansible task or handler 2014-01-01 20:18:49 +00:00
Kevin Fenzi
aa37f25b54 Missed a few 2014-01-01 20:16:13 +00:00
Kevin Fenzi
1cb3f6ea7c Some $'s missed 2014-01-01 20:15:17 +00:00
Kevin Fenzi
448b0bceb7 More with_fileglob fixes. 2014-01-01 20:12:53 +00:00
Kevin Fenzi
cbec442404 Fix some with_fileglob instances 2014-01-01 20:08:08 +00:00
Kevin Fenzi
3c41b15f12 When_set is going away, use when 2014-01-01 20:06:11 +00:00
Kevin Fenzi
af5c168225 Another loop fix 2014-01-01 20:03:52 +00:00
Kevin Fenzi
906159139e Space: the final fronteer 2014-01-01 20:00:06 +00:00
Kevin Fenzi
97d6175943 Another loop syntax tweak 2014-01-01 19:59:25 +00:00
Kevin Fenzi
ee076869ff Fix another loop 2014-01-01 19:55:23 +00:00
Kevin Fenzi
a974723992 Clean up syntax some 2014-01-01 19:54:23 +00:00
Kevin Fenzi
b30d7946c0 Another one 2014-01-01 19:47:31 +00:00
Kevin Fenzi
1889fb51ff Also no {{ in with_pipe, variable are bare there too 2014-01-01 19:45:46 +00:00
Kevin Fenzi
2fe69599f5 Don't use {{ in when, variables are bare there. 2014-01-01 19:39:48 +00:00
Kevin Fenzi
f7d56ff2b1 Fix old variable usage. Patch from janeznemanic. Thanks! 2014-01-01 19:15:11 +00:00
Andrea Veri
d011bbde2c GNOME Backups: make use of the --exclude-globbing-filelist flag 2013-12-30 14:15:15 +00:00
Andrea Veri
14d3f07415 GNOME Backups: drop the logs directory, we wont need you anymore 2013-12-28 19:41:05 +00:00
Andrea Veri
8db1d1e0b6 GNOME Backups: exclude /selinux and /sys as well 2013-12-28 19:01:43 +00:00
Andrea Veri
1ab8be272c GNOME Backups: exclude /proc directly with --exclude 2013-12-28 19:00:58 +00:00
Andrea Veri
d630c3da15 GNOME Backups: double-quotes on the mail call 2013-12-28 18:57:09 +00:00
Andrea Veri
763cd06206 GNOME Backups: dont cd at all into the target directory but provide the correct target to the rdiff-backup call itself 2013-12-28 18:41:52 +00:00
Andrea Veri
6f971d8d8f GNOME Backups: add the missing colon to the rdiff-backup command and make sure emails do get a subject generated for each machine backup 2013-12-28 18:08:16 +00:00
Kevin Fenzi
bb7dd14696 Lets make this faster 2013-12-28 18:00:19 +00:00
Andrea Veri
7258e676a6 GNOME Backups: don't assign the rdiff-backup's schemas to a variable 2013-12-28 17:58:47 +00:00
Andrea Veri
f90a3fbda5 GNOME Backups: convert the backup script to use rdiff-backup 2013-12-28 17:46:06 +00:00
Andrea Veri
3a3c0025cc GNOME Backups: make sure the ProxyCommands knows about the custom ssh_config file we introduced recently 2013-12-23 16:36:53 +00:00
Andrea Veri
64fa1cd362 GNOME Backups: mode 0600 on the SSH config file 2013-12-23 16:15:17 +00:00
Andrea Veri
002135eb99 Move some of the configurations bits on the SSH config file and drop them from the backup script 2013-12-23 16:08:29 +00:00
Andrea Veri
af5aa06684 Add an SSH configuration file for the IPless machines @ GNOME backups 2013-12-23 16:04:32 +00:00
Andrea Veri
5b4564acd4 Merge the IPless machines into the global list of boxes to backup, also add an ssh_config file and populate it with ProxyCommand 2013-12-23 15:08:37 +00:00
Kevin Fenzi
6059906447 Fix rkhunter template for arm-qa machines that has been wrong for a long time. 2013-12-21 16:45:19 +00:00
Stephen Smoogen
5e7d24235d Added host_update box 2013-12-20 21:47:29 +00:00
Kevin Fenzi
e0fae8047a Space the final fronteer... 2013-12-20 21:12:26 +00:00
Ricky Elrod
1099884833 Fix deprecation warning 2013-12-20 20:02:19 +00:00
Ricky Elrod
8847d77310 Fix this too 2013-12-20 18:22:31 +00:00
Kevin Fenzi
773d8960ae Need to include vars here if we are using them. 2013-12-20 18:17:02 +00:00
Pierre-Yves Chibon
acf3179581 Add context to the nuancier wsgi file 2013-12-20 17:29:22 +00:00
Pierre-Yves Chibon
0b6c42dcbf Typo ftw 2013-12-20 17:01:53 +00:00
Pierre-Yves Chibon
ae2df0d7e8 Allow apache to read/use static content 2013-12-20 17:00:16 +00:00
Kevin Fenzi
96a2ed93d2 Adjust gnome-backups to use lock-wrapper 2013-12-20 14:21:37 +00:00
Stephen Smoogen
f16181a2f3 Hey ma. I think I broke my leg. Should this white thing be sticking out? 2013-12-20 01:17:06 +00:00
Ricky Elrod
faa0561ffb Attempt to run the restart_unbound sequence on reboot if necessary. 2013-12-20 00:46:24 +00:00
Kevin Fenzi
efae484554 Workaround socket thing 2013-12-19 21:07:50 +00:00
Kevin Fenzi
792d904739 Try adding some parameters here. 2013-12-19 20:40:28 +00:00
Kevin Fenzi
d13c8a1adf : 2013-12-19 20:27:50 +00:00
Kevin Fenzi
9ba0e4ef20 Lets try this to fix issues 2013-12-19 20:25:13 +00:00
Ralph Bean
a6723c336d Add forgotten import. 2013-12-19 16:18:48 +00:00
Ralph Bean
81437a7caf Forgot this. 2013-12-19 16:09:02 +00:00
Ralph Bean
efa041d89d Add person if they do not exist. 2013-12-19 16:00:32 +00:00
Ralph Bean
0a836bf6af Cronjob for awarding the mirror badge. 2013-12-19 15:56:55 +00:00
Ralph Bean
a9bc26b963 Correct smtp host for notifs backend. 2013-12-16 18:54:48 +00:00
root
33c3b190a1 Fix path to the key 2013-12-15 21:11:28 +00:00
Patrick Uiterwijk
d3f7fb49ba Close the if and put lockfile in home 2013-12-15 20:58:43 +00:00
Patrick Uiterwijk
7f78117fea Add locking into GNOME backup script 2013-12-14 14:11:06 +00:00
Patrick Uiterwijk
a84df969da This should only run once an hour.... 2013-12-14 14:02:47 +00:00
Patrick Uiterwijk
1ab1d5bb38 More typos in the script... 2013-12-13 22:57:28 +00:00
Patrick Uiterwijk
f5c5807cee Bash is doing some weird expansion 2013-12-13 22:54:46 +00:00
Patrick Uiterwijk
0145714f29 Options need to be here as well.... 2013-12-13 22:28:22 +00:00
Patrick Uiterwijk
bd8f37aa8a Merge branch 'master' of /git/ansible 2013-12-13 21:57:29 +00:00
Patrick Uiterwijk
e0cb3edb43 Fix some errors 2013-12-13 21:56:56 +00:00
Andrea Veri
45a09b21ed Fix typo 2013-12-13 21:40:06 +00:00
Andrea Veri
583c0b729d Drop the quotes before the loop 2013-12-13 21:39:17 +00:00
Andrea Veri
325cd11b3d Do the same on the ipless boxes 2013-12-13 21:32:15 +00:00
Andrea Veri
7d54eb0775 Put all the machines on the same line 2013-12-13 21:29:32 +00:00
Patrick Uiterwijk
21934951c2 This should be underscore... 2013-12-13 21:16:48 +00:00
Patrick Uiterwijk
68eb24188b Ansible is being annoying (selinux on nfs is not funny) 2013-12-13 21:14:23 +00:00
Andrea Veri
3687b44a84 We want the root user to access the machines 2013-12-13 20:42:36 +00:00
Patrick Uiterwijk
6c42b2420a it's fedora_backups 2013-12-13 20:36:57 +00:00
Andrea Veri
e22f764ae2 Add the backup.sh file for the GNOME nightly backups 2013-12-13 20:21:14 +00:00
Andrea Veri
5392e2966f Add the needed setup for the nightly GNOME backups to happen 2013-12-13 20:14:20 +00:00
Ralph Bean
3ee79e5e24 Add gcm vars for notifs backend. 2013-12-13 16:55:15 +00:00
Ricky Elrod
b6c1c67545 add fail2ban because access_log spam is annoying 2013-12-12 22:26:10 +00:00
Pierre-Yves Chibon
56d6699804 Add one more dependency to install on the builder 2013-12-12 16:37:04 +01:00
Ralph Bean
3e20afa366 pull in prod messages to test fmn in stg. 2013-12-12 04:44:53 +00:00
Ralph Bean
0d4daa0d8c It's not enough to simple say that we're skipping. We have to actually skip. 2013-12-11 19:07:45 +00:00
Ralph Bean
1161cb2c64 Avoid awarding the badge multiple times. 2013-12-11 18:50:13 +00:00
Ralph Bean
97cca8dab9 More careful with results. 2013-12-11 18:36:04 +00:00
Ralph Bean
b4fa4af74a Update hosts file for badges-backend. 2013-12-11 18:27:04 +00:00
Ralph Bean
77da05b75b Set sqlalchemy version constraint for setuptools. 2013-12-11 18:11:27 +00:00
Ralph Bean
ddc86bcaf3 Rename. 2013-12-11 18:04:53 +00:00
Ralph Bean
2acec935fa Scripts, cron, and config for the flock paparazzi badge. 2013-12-11 18:04:22 +00:00
Ralph Bean
9835360d33 Require libsemanage-python. 2013-12-11 17:45:55 +00:00
Kevin Fenzi
173dbbb4b9 Dho. Helps to save the file you are editing. 2013-12-10 19:56:17 +00:00
Ralph Bean
ef4aba69a0 Quote that. 2013-12-10 19:50:29 +00:00
Kevin Fenzi
e20ea5e6cc Update size on f19 jenkins. Make f20 builder. 2013-12-10 19:47:59 +00:00
Ralph Bean
e941d65c5e Correct directory. 2013-12-10 19:43:25 +00:00
Ralph Bean
dbf61f1fbf Some configuration for the fmn frontend. 2013-12-10 19:41:42 +00:00
Ralph Bean
3ae23a63c5 Enable logging for fmn backend. 2013-12-10 18:56:54 +00:00
Ralph Bean
13330ad4eb First stab at the notifications backend role. 2013-12-10 17:30:59 +00:00
Ralph Bean
b3f6aa6dac Include libsemanage-python. 2013-12-10 17:04:15 +00:00
Ralph Bean
c9b28d8981 Ensure selinux lets notifs httpd talk to postgres. 2013-12-10 16:21:30 +00:00
Stephen Smoogen
815376cf32 Hey ma, I am moving hosts. 2013-12-09 22:24:18 +00:00
Ralph Bean
c23e9730fc Apply selinux type to fmn static files. 2013-12-09 21:49:22 +00:00
Ralph Bean
c468d67ff7 seboolean form httpd->postgres. 2013-12-09 20:33:18 +00:00
Ralph Bean
f472d0bcb4 Change notifs db name. 2013-12-09 19:52:44 +00:00
Ralph Bean
41a1de454a Hosts files for notifications staging nodes. 2013-12-09 19:37:53 +00:00
Ralph Bean
bc90ec2749 URL prefix for the notifs app. 2013-12-09 19:30:49 +00:00
Ralph Bean
ac29c19dd5 Move about.rst to the right place. 2013-12-09 19:15:51 +00:00
Ralph Bean
e5513c242f Copy sitedocs for fmn.web. 2013-12-09 19:05:57 +00:00
Ralph Bean
ebae481ad8 2. psycopg2. 2013-12-09 18:57:42 +00:00
Ralph Bean
2e5f6a7404 Need psycopg2 there. 2013-12-09 18:46:54 +00:00
Ralph Bean
bd1b623111 Copy/pasta artifact. 2013-12-09 18:34:39 +00:00
Ralph Bean
9d36f8a375 First stab at a notifs-frontend role for staging. 2013-12-09 18:33:56 +00:00
Ralph Bean
35a6f991bf Flip sign_and_import back to point at the testing repo. 2013-12-09 18:17:24 +00:00
Aurélien Bompard
1e0dda64d1 Use Memcached as the Django cache 2013-12-06 16:56:46 +00:00
Aurélien Bompard
1e07f9075f SELinux fixes 2013-12-06 16:56:46 +00:00
Aurélien Bompard
e2cd562825 Don't always refresh the cache on import 2013-12-06 16:56:46 +00:00
Aurélien Bompard
590a669f05 Install the cache cronjob 2013-12-06 16:56:46 +00:00
Aurélien Bompard
13f3afebad Redirect to the list index from the server's front page 2013-12-06 16:56:46 +00:00
Aurélien Bompard
f2f6f56a98 Autodetect when logs should be reopen 2013-12-06 16:56:46 +00:00
Aurélien Bompard
7429218a4b Upstream modification 2013-12-06 16:56:46 +00:00
Kevin Fenzi
68af71f0b4 Set buildvm-27 (not in production/existance) to use the test fedora 20 kickstart 2013-12-05 21:39:04 +00:00
Ralph Bean
2076a56e79 Only retroactively award badges to people who are actually approved in certain groups. Duh. 2013-12-03 14:19:39 +00:00
Miroslav Suchý
baa241b9de copr - do not overwrite mockchain
we use updated mock(chain) from repo where it is properly build patched version
2013-11-28 08:53:38 +00:00
Nick Bebout
4c8643b4eb Add zimmermann.mayfirst.org to SKS membership 2013-11-27 21:41:10 +00:00
Miroslav Suchý
02add69aaf add patched mock to Copr builders
until this bugs are fixed in distribution
2013-11-27 08:01:34 +00:00
Kevin Fenzi
27db174cff Make ntpdate a global 2013-11-26 00:14:24 +00:00
Kevin Fenzi
c966c9aaff No more bacula 2013-11-25 22:16:42 +00:00
Kevin Fenzi
29864b8d57 Add accel, clean up old fireball stuff 2013-11-25 21:25:33 +00:00
Kevin Fenzi
a7350d64a5 Add libsemanage-python to nuancier 2013-11-25 21:01:49 +00:00
Kevin Fenzi
9017d6c2ff Make keyserver playbook accelerated 2013-11-25 21:01:33 +00:00
Kevin Fenzi
0814f8c6f6 One too many (s 2013-11-25 19:39:00 +00:00
Kevin Fenzi
69a5e8e572 Accelerate all the things. 2013-11-25 19:31:25 +00:00
Kevin Fenzi
4ea8fb7509 Nuke some more only_if stragglers 2013-11-25 19:10:22 +00:00
Kevin Fenzi
f0a29df52d Goodbye only_if... when is the new thing. 2013-11-25 19:05:48 +00:00
Kevin Fenzi
e18d833494 Perhaps we need to group this. 2013-11-25 18:57:16 +00:00
Kevin Fenzi
3667001df1 Update base playbook to not set rootpw on releng and add accel stuff in iptables for releng. 2013-11-25 18:48:47 +00:00
Kevin Fenzi
0dd87ee096 Fix hosts in the second play too. 2013-11-25 18:43:22 +00:00
Kevin Fenzi
494ec1033e See if this gets check mode happy with the libvirt call 2013-11-25 18:41:58 +00:00
Kevin Fenzi
f1d4e575f0 And of course it needs to be quoted. 2013-11-25 18:37:51 +00:00
Kevin Fenzi
1043af18d2 vhost is a variable too 2013-11-25 18:36:54 +00:00
Kevin Fenzi
5e6941493d Update syntax 2013-11-25 18:33:35 +00:00
Kevin Fenzi
1cb8b9a6e7 This playbook is only for releng01/02 for now. 2013-11-25 18:26:09 +00:00
Kevin Fenzi
3d1ae260e5 Just the facts mam 2013-11-25 18:13:25 +00:00
Kevin Fenzi
41aa28ceb8 Add bkernel group vars 2013-11-25 18:11:52 +00:00
Kevin Fenzi
9a54539814 Fix up bkernel playbooks some more. Use base role. 2013-11-25 18:08:13 +00:00
Kevin Fenzi
cf55b4ecad Fix typo 2013-11-25 17:58:20 +00:00
Ralph Bean
4391055257 First try at fmn playbooks. 2013-11-25 17:39:28 +00:00
Ralph Bean
e4cc2e8ba3 Forgot the actual inventory entries. 2013-11-25 17:35:56 +00:00
Ralph Bean
e94575305b Inventory entries for notifications stg machines. 2013-11-25 17:32:50 +00:00
Kevin Fenzi
d160697c21 Fix up some buildvm stuff 2013-11-23 20:39:26 +00:00
Stephen Smoogen
c165cf7746 Merge branch 'master' of /git/ansible
Conflicts:
	playbooks/vhost_update.yml
2013-11-22 22:11:49 +00:00
Stephen Smoogen
0e55c85cbf Ok this works for vhost08 2013-11-22 22:03:52 +00:00
Kevin Fenzi
5e3dd3803f Hacky little script to restart unbound (it doesn't start on boot due to selinux issues) 2013-11-22 16:21:31 +00:00
Pierre-Yves Chibon
804d2948dd Reduce the verbosity of sqlalchemy in the logs 2013-11-22 11:11:44 +01:00
Kevin Fenzi
07c21f1a16 Perhaps it hates the newlines 2013-11-22 00:09:29 +00:00
Kevin Fenzi
4164ec60b8 Not! 2013-11-21 22:41:51 +00:00
Kevin Fenzi
c53b368450 More fixes 2013-11-21 22:07:02 +00:00
Kevin Fenzi
33ddc75b18 Fix syntax on reboot playbook 2013-11-21 22:02:15 +00:00
Kevin Fenzi
8462c0407e Update for current syntax, reorder, add serverbeach thing. 2013-11-21 21:52:05 +00:00
Kevin Fenzi
04498829a1 Fix up for new syntax and make faster. 2013-11-21 21:37:43 +00:00
Kevin Fenzi
fd8d810fda Add a ntpdate after the vhost comes back up. 2013-11-21 20:36:36 +00:00
Kevin Fenzi
682d67a5ad Try and fix this stg downtime issue. 2013-11-21 20:19:48 +00:00
Ralph Bean
2f6fd14d58 Aim sign_and_import at the prod infra repo for now. 2013-11-21 10:24:49 +00:00
Ralph Bean
45932af564 Try to wait for downed vguests in parallel. 2013-11-21 10:24:17 +00:00
Kevin Fenzi
6693c72a45 Increase downtime to 30min 2013-11-19 19:53:27 +00:00
Ralph Bean
82deb4e6ff Revert "Reduce cache time to workaround heartbeat issue for now."
This reverts commit 507701dd15.
2013-11-18 21:28:17 +00:00
Ralph Bean
507701dd15 Reduce cache time to workaround heartbeat issue for now. 2013-11-18 20:50:31 +00:00
Kevin Fenzi
4de2ecac8b Don't set rootpw on build* machines, it's set later in their playbooks 2013-11-18 20:32:54 +00:00
Kevin Fenzi
abd631df2b Move the netapp storage route to a handler 2013-11-18 20:32:28 +00:00
Kevin Fenzi
01869f4cdb Move 07/08/09 2013-11-18 19:33:48 +00:00
Kevin Fenzi
48abe3fbbe How about this? 2013-11-18 19:19:07 +00:00
Kevin Fenzi
8f46c63f59 Try and convert this to new syntax. Hope it works. 2013-11-18 19:13:20 +00:00
Kevin Fenzi
063550bb38 Move 04/05/06 2013-11-18 18:46:17 +00:00
Kevin Fenzi
0ef5203ea2 Move builvm-02/03 too 2013-11-18 18:24:08 +00:00
Kevin Fenzi
04495398e4 Move buildvm-01 over to new buildvmhost-10 2013-11-18 18:10:29 +00:00
Aurélien Bompard
7bae9777c4 mailman: fix SELinux context issues
And run the post-update script in a yum-post-transaction action.
2013-11-15 16:57:35 +00:00
Dennis Gilmore
71dbd1453b fixup koji.conf 2013-11-15 14:30:34 +00:00
Pierre-Yves Chibon
76b42846cd Add /etc/hosts files for fedocal 2013-11-14 19:22:23 +01:00
Pierre-Yves Chibon
dfb97356be Enable the fedocal playbook on fedocal - prod 2013-11-14 18:51:45 +01:00
Pierre-Yves Chibon
6284895aaf Update virtualhost and vgroup for fedocal01 and fedocal02 2013-11-14 18:50:27 +01:00
Dennis Gilmore
7f7882c65f kickoff buildbranched and build rawhide earlier 2013-11-14 15:41:47 +00:00
Dennis Gilmore
2088e559c8 start rawhide an hour earlier 2013-11-14 15:41:47 +00:00
Pierre-Yves Chibon
a93b1e8204 Add host_vars files for fedocal01/02 in prod 2013-11-14 15:07:15 +01:00
Miroslav Suchý
aedf904ccf copr - write IP address to stdout 2013-11-14 08:32:22 +00:00
Dennis Gilmore
8c1048b8a1 make sure compose boxes have ksflatten 2013-11-13 23:28:17 +00:00
Dennis Gilmore
d9fa9cd113 make sure the masher cert and koji cacerts are available on compose boxes
make sure koji.conf uses the certs
2013-11-13 23:18:53 +00:00
Kevin Fenzi
c07c7e30c7 Add wiki attachments to be backed up by rdiff-backup 2013-11-13 21:52:58 +00:00
Pierre-Yves Chibon
11dffeb8ab Add tito on the Fedora nodes 2013-11-13 14:59:37 +01:00
Dennis Gilmore
7ad6d08614 make sure uboot-tools is in on arm chroots, dont install joe 2013-11-12 22:30:08 +00:00
Ralph Bean
ab4fc88277 Add fedmsg cert declarations for fedocal. 2013-11-12 21:37:15 +00:00
Pierre-Yves Chibon
429a3de480 Fix typo, fedocal does not use the nuancier database 2013-11-12 19:32:36 +01:00
Pierre-Yves Chibon
3da54da606 Add libsemanage-python on fedocal 2013-11-12 19:23:04 +01:00
Pierre-Yves Chibon
81b6046710 Ignore the DB creation part for now 2013-11-12 19:12:47 +01:00
Pierre-Yves Chibon
94756d80a9 Wrong name format for the hosts file on fedocal01.stg 2013-11-12 19:06:05 +01:00
Pierre-Yves Chibon
d747341f14 Add a hosts file for fedocal01.stg 2013-11-12 18:16:05 +01:00
Pierre-Yves Chibon
9da7b06b8d Add the fedocal01.stg host_vars file 2013-11-12 17:25:57 +01:00
Pierre-Yves Chibon
b14f5a4a0b list fedocal-stg as a staging node 2013-11-12 16:50:40 +01:00
Pierre-Yves Chibon
66b107d0d5 Add the fedocal group_vars files 2013-11-12 16:49:04 +01:00
Pierre-Yves Chibon
1f96795e5b Add fedocal-stg to the inventory 2013-11-12 16:36:54 +01:00
Pierre-Yves Chibon
3fc278dadb Update files part of fedocal configuration 2013-11-12 15:34:33 +00:00
Pierre-Yves Chibon
69de001b01 Add first elements for fedocal in ansible 2013-11-12 16:15:59 +01:00
Miroslav Suchý
7798d5b5c0 forward emails to root on copr machines to me 2013-11-11 16:35:52 +00:00
Miroslav Suchý
cecfac8454 add copr.conf 2013-11-11 16:25:46 +00:00
Miroslav Suchý
fe702d32ea open ports 22, 80, 443 on coprs machines 2013-11-11 15:12:22 +00:00
Miroslav Suchý
dd111ea27e could not use external ip
due routing set up in fedora instance of open stack. We have to use internal ip.
2013-11-11 15:12:22 +00:00
Miroslav Suchý
5dc0a7cdcb add in copr config passwords from private variables 2013-11-11 15:12:22 +00:00
Ralph Bean
7123aa80ca Only use proxy01 for incoming fedmsg. 2013-11-08 19:00:45 +00:00
Ralph Bean
99f5adf002 Add link to upstream ticket in a comment. 2013-11-08 19:00:45 +00:00
Miroslav Suchý
df81d82756 add fedora 20 mock config
mock in epel does not have this, add it manually
2013-11-08 16:07:24 +00:00
Ralph Bean
bd75546240 List the external proxy in fedmsg's relay_inbound. 2013-11-08 15:19:57 +00:00
Ralph Bean
f390c09c3f Use correct cert-prefix and hostname for copr-be fedmsg cert declaration. 2013-11-08 14:58:33 +00:00
Ralph Bean
4648705142 Comment out the fedmsg_certs var for copr-be. 2013-11-08 14:51:56 +00:00
Ralph Bean
c3097c760c Handle fedmsg keys explicitly at the end of the copr-be playbook. 2013-11-08 14:49:54 +00:00
Ralph Bean
85b05e9368 Try passing ansible_fqdn directly to the role as an argument. 2013-11-08 14:46:16 +00:00
Ralph Bean
b0efbaa648 Remove reference to the fedmsg "shell" cert for copr-be. 2013-11-08 14:44:24 +00:00
Ralph Bean
72f06125c9 Try redefining ansible_fqdn in the copr-be playbook. 2013-11-08 14:43:30 +00:00
Ralph Bean
f87358058a Add copr-be fedmsg cert declaration. 2013-11-08 14:36:17 +00:00
Miroslav Suchý
17ebf01809 add fedmsg roles to copr-be playbook 2013-11-08 14:31:24 +00:00
Miroslav Suchý
e3bbd59544 add fedmsg certs to copr-be 2013-11-08 14:27:13 +00:00
Aurélien Bompard
f4b462668d mailman: fix SELinux-related problems 2013-11-08 09:12:56 +00:00
Aurélien Bompard
40d85f141a mailman: fix domain names in the postfix config 2013-11-08 08:32:23 +00:00
Aurélien Bompard
d66182fb66 mailman: don't put apache conf outside /etc/httpd
...or selinux won't be happy
2013-11-08 08:26:59 +00:00
Ralph Bean
d808f3b70f Comment out the post update task for now. 2013-11-07 16:45:45 +00:00
Ralph Bean
1632b1e855 Move the fedmsg role after the mailman one. 2013-11-07 16:40:54 +00:00
Kevin Fenzi
f43489746f Bump size up to 250G and set accel mode for mailman01.stg 2013-11-07 16:25:01 +00:00
Ralph Bean
c5e6012cc7 Add mailman01.stg to the [staging] group. 2013-11-07 15:58:26 +00:00
Ralph Bean
c06416d746 Typofix to mailman fedmsg endpoint definition. 2013-11-07 15:52:28 +00:00
Ralph Bean
13eacb75ab Add that fedmsg role back in. 2013-11-07 15:49:25 +00:00
Ralph Bean
8e258ed3c5 Temporarily remove the fedmsg role. 2013-11-07 15:21:59 +00:00
Ralph Bean
6a9865150b Add the fedmsg role to the mailman playbook. 2013-11-07 14:41:40 +00:00
Ralph Bean
ba9027ef15 fedmsg for mailman01.stg. 2013-11-07 14:37:15 +00:00
Ralph Bean
3e466a7cf3 Add sysadmin-main as a fas client group for mailman nodes. 2013-11-07 14:32:49 +00:00
Aurélien Bompard
40f480d1aa mailman: a few fixes 2013-11-07 13:48:59 +00:00
Patrick Uiterwijk
0f804a78de Master needs git for git polling 2013-11-06 19:01:08 +00:00
Patrick Uiterwijk
0f18e74b42 Add some packages to jenkins for Cockpit 2013-11-06 18:12:49 +00:00
Miroslav Suchý
78456d395a copr-be do not use that 200 GB volume anymore 2013-11-06 10:06:35 +00:00
Miroslav Suchý
c5b7657d4d add 800 GB volume to copr-be 2013-11-06 10:06:35 +00:00
Miroslav Suchý
12f4c14bf3 secure copr with fail2ban 2013-11-06 10:06:35 +00:00
Kevin Fenzi
91ea3da106 Set back to BuildGuests 2013-11-06 04:20:47 +00:00
Kevin Fenzi
b54be7e34f Try a local hw version now. 2013-11-06 01:57:36 +00:00
Kevin Fenzi
8bbb60bb4a Put this on the other iscsi volume for testing. 2013-11-05 23:05:03 +00:00
Kevin Fenzi
6c162cc357 Fix conditional 2013-11-05 20:49:27 +00:00
Kevin Fenzi
b680031fbe Add a buildvm-27 to test with on new blade server. 2013-11-04 21:51:42 +00:00
Tim Flink
5a2089059a configuring backups for qadevel.cloud.fedoraproject.org 2013-11-01 22:00:16 +00:00
Kevin Fenzi
15d4338a74 Right, try this 2013-10-31 17:32:36 +00:00
Kevin Fenzi
d3ed2cdf29 Are we having fun yet? 2013-10-31 17:28:08 +00:00
Kevin Fenzi
db4bf82053 Further adventures 2013-10-31 17:26:06 +00:00
Kevin Fenzi
864048c600 More fun 2013-10-31 17:23:14 +00:00
Kevin Fenzi
664dbb7f79 Ok, lets try this one instead 2013-10-31 17:14:37 +00:00
Kevin Fenzi
6401b15958 Double quotes? 2013-10-31 17:07:59 +00:00
Kevin Fenzi
1320997020 Try this conditional 2013-10-31 17:04:36 +00:00
Kevin Fenzi
88141db150 Add other netapp iscsi for buildvmhosts only. 2013-10-31 16:52:29 +00:00
Kevin Fenzi
4c9c64032e Re-enable pkgs /srv backups, it was a trailing slash issue. 2013-10-30 14:02:05 +00:00
Kevin Fenzi
3353e6dcfe This is still not right, disable again. 2013-10-29 21:55:39 +00:00
Kevin Fenzi
ef0816e76b Add _other_ netapp iscsi for this. 2013-10-29 20:56:46 +00:00
Pierre-Yves Chibon
bb1a968a5f New plugin required by the git plugin 2013-10-29 13:36:34 +01:00
Pierre-Yves Chibon
8c8d69be2a Add pycairo-devel and gtk3-devel on builders 2013-10-29 13:09:11 +01:00
Kevin Fenzi
b959693e2b Exclude all .snapshot dirs from rdiff-backups 2013-10-28 17:46:46 +00:00
Kevin Fenzi
d081700166 Readd /srv backup on pkgs01 since the backup dir is fixed now. 2013-10-28 16:21:41 +00:00
Pierre-Yves Chibon
087a4d3042 Let's try to specify the resolv.conf to use 2013-10-28 15:30:47 +01:00
Pierre-Yves Chibon
4550c762a4 Fix indentation 2013-10-28 15:19:10 +01:00
Pierre-Yves Chibon
68f1dcf589 Replace IP by host group - let's see if that helps for the resolv.conf 2013-10-28 15:18:29 +01:00
Pierre-Yves Chibon
02d18fbcb5 Update jenkins' plugins 2013-10-28 15:11:37 +01:00
Pierre-Yves Chibon
bd4fef12fc Add the new builder to jenkins 2013-10-28 11:42:48 +00:00
Pierre-Yves Chibon
5306d96489 Apparently emi identifiers are in fact ami 2013-10-28 11:26:41 +00:00
Pierre-Yves Chibon
6b2c0c6c69 Move extra vars 2013-10-28 12:16:27 +01:00
Pierre-Yves Chibon
46646b2b96 Add more variable to create the instances 2013-10-28 11:47:18 +01:00
Pierre-Yves Chibon
7a6ede545a Remove duplicated task 2013-10-28 11:39:42 +01:00
Pierre-Yves Chibon
255b683db1 Try adding a F19 builder to jenkins 2013-10-28 11:17:49 +01:00
Pierre-Yves Chibon
1749b4edf3 Update postfix on jenkins master to its own configuration file
Bastion is not accessible internally for the cloud instances which
thus cannot use it as relay to send emails. This change create a
dedicated postfix configuration file to be used by jenkins telling
it not to use a relay but to send the emails directly.
2013-10-28 09:38:40 +00:00
Aurélien Bompard
39d7e899cd mailman: path fix again 2013-10-28 08:21:06 +00:00
Ralph Bean
6f434565fd Add python-rdflib for the badges frontend. 2013-10-26 02:24:53 +00:00
Kevin Fenzi
d289b06d37 Have to rm the file, just commenting doesn't work. 2013-10-25 22:47:04 +00:00
Kevin Fenzi
c223eaadd5 Don't backup /srv on pkgs right now, trying to fix it's backup. 2013-10-25 21:27:35 +00:00
Kevin Fenzi
cb7dee0e9e chdir is a argument to command module 2013-10-25 17:38:06 +00:00
Aurélien Bompard
344366a538 mailman: fix the path in a script 2013-10-25 14:23:16 +00:00
Aurélien Bompard
5264983303 lists-dev: enable services by default 2013-10-25 13:53:10 +00:00
Aurélien Bompard
8cff41661a Tested the mailman 2->3 migration 2013-10-25 12:23:50 +00:00
Miroslav Suchý
1b5f78cd49 update host variable for copr
use f19
update keypair on copr-fe
volume vol-00000007 on copr-be is no longer needed (former /srv/copr-work)
2013-10-25 09:49:40 +00:00
Miroslav Suchý
2a1aa83748 update copr-fe.cloud.fedoraproject.org.yml
copy copr-fe-dev to copr-fe, but preserve mount points
2013-10-25 09:40:51 +00:00
Miroslav Suchý
366ff69c67 update copr-be.cloud.fedoraproject.org.yml
copy copr-be-dev to copr-be, but preserve mount points
and remove /srv/copr-work which is no longer needed
2013-10-25 09:32:31 +00:00
Kevin Fenzi
ee8363b971 Drop aarch64 koji hub and db server. They are just going to use the arm koji. 2013-10-22 19:37:05 +00:00
Ralph Bean
fa75ca9b35 Set up sign_and_import.yml to point at the testing repo for the freeze. 2013-10-22 18:20:15 +00:00
Pierre-Yves Chibon
8ab3080dc2 Add postgresql-devel to builders 2013-10-22 15:13:50 +02:00
Pierre-Yves Chibon
7876109563 add python-psycopg2 as requirement for jenkins 2013-10-22 11:39:46 +02:00
Kevin Fenzi
2917423cfa Add correct volume name here. 2013-10-18 21:16:26 +00:00
Miroslav Suchý
966efcc06e umask result dir with 0000 2013-10-17 07:47:54 +00:00
Pierre-Yves Chibon
bc99cf9a48 Add example for icmp 2013-10-16 21:09:20 +02:00
Miroslav Suchý
8b7ebbe5d9 document is just public_html, /result is referenced relative to it 2013-10-16 13:26:45 +00:00
Pierre-Yves Chibon
5ea98d6f9d Apparently order matters 2013-10-16 12:00:11 +02:00
Miroslav Suchý
915d874b1b install selinux before adding additional repos
and well install all base packages before adding additional repos

addressing:
TASK: [add repos] *************************************************************
failed: [172.16.3.4] => (item=builder.repo) => {"failed": true, "item": "builder.repo"}
msg: Aborting, target uses selinux but python bindings (libselinux-python) aren't installed!
2013-10-15 13:38:55 +00:00
Patrick Uiterwijk
c3da3d408c Add python-selinux to copr builders 2013-10-15 11:56:53 +00:00
Miroslav Suchý
0661687464 create empty known_hosts
adressing warings from ansible:
previous known host file not found
2013-10-15 11:52:46 +00:00
Miroslav Suchý
49badcc891 do not use known_hosts
we connect just to builders, and key there change
paramiko ignore .ssh/config but obey host_key_checking
Unless it make some problem later, I would rather use ssh for transport
so it is the same as I use in debugging.
2013-10-15 09:25:26 +00:00
Ralph Bean
3dbdfde65c Move fedmsg_base stuff from a task to a role.
Submitted by janeznemanic for
https://fedorahosted.org/fedora-infrastructure/ticket/4011
2013-10-15 03:40:57 +00:00
Stephen Smoogen
c7eba1f37b ooops no trailing : 2013-10-14 20:23:23 +00:00
Stephen Smoogen
6e4e1ea554 So let us see how many builders can build. 2013-10-14 20:10:56 +00:00
Kevin Fenzi
172f73275f Move this from using a target to a regular hostlist. Add hosts we have moved to ansible. 2013-10-14 20:06:00 +00:00
Patrick Uiterwijk
fa09b80aee Do jenkins as well 2013-10-14 17:33:10 +00:00
Patrick Uiterwijk
b9d8de2061 Add cloud group and resolv.conf 2013-10-14 17:29:13 +00:00
Pierre-Yves Chibon
545d915207 Update the nuancier playbook
- Remove hotfix which are now included in 0.1.2
- Let the playbook set the SELinux boolean since the dependency is now installed
by role/base
2013-10-14 19:01:00 +02:00
Pierre-Yves Chibon
0a63a867c0 Remove duplicate action, libselinux-python is install 2 tasks below 2013-10-14 18:45:50 +02:00
Pierre-Yves Chibon
4c6b323d3e Replace the postfix task by using the base role 2013-10-14 18:43:29 +02:00
Pierre-Yves Chibon
29a3b73a70 Make sure required package are installed 2013-10-14 18:21:44 +02:00
Pierre-Yves Chibon
db06546855 Replace only_if by when 2013-10-14 18:07:46 +02:00
Pierre-Yves Chibon
ebd347f0b0 Update packages to be installed on the builder 2013-10-14 17:46:51 +02:00
Patrick Uiterwijk
db6c34e8dd Update to new syntax 2013-10-13 23:13:13 +00:00
Patrick Uiterwijk
89214e0649 Add a hotfix 2013-10-13 23:05:17 +00:00
Patrick Uiterwijk
fbcca88364 Reorder this to test 2013-10-13 22:49:31 +00:00
Patrick Uiterwijk
dac6c2b5be Reorder this to test 2013-10-13 22:48:56 +00:00
Patrick Uiterwijk
03dd6b8584 Reorder this to test 2013-10-13 22:47:49 +00:00
Patrick Uiterwijk
aaaed3a018 Update this to new syntax 2013-10-13 22:46:39 +00:00
Patrick Uiterwijk
be8d98470b Primary gallery stuff 2013-10-13 22:05:13 +00:00
Patrick Uiterwijk
2cd3301ed5 Merge branch 'master' of /git/ansible 2013-10-13 22:03:28 +00:00
Miroslav Suchý
657502e256 do not validate https certificates
workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1003105
2013-10-10 11:11:50 +00:00
Stephen Smoogen
5a28c20233 And now we have some hosts. 2013-10-09 22:30:41 +00:00
Ralph Bean
8e9bef899e Nicer fedmsg logging. 2013-10-09 13:25:12 +00:00
Patrick Uiterwijk
86fb4d55a6 puiterwijk is also tahrir admin 2013-10-08 12:40:34 +00:00
Toshio くらとみ
08b8f89177 Hotfixes for nuancier 2013-10-05 03:11:00 +00:00
Toshio くらとみ
3be1c20a1e Two nuancier files from the rpm that are going to be hotfixed 2013-10-05 03:09:22 +00:00
Toshio くらとみ
fea1853b9c Couple hotfixes to nuancier 2013-10-05 03:04:23 +00:00
Toshio くらとみ
106c831ae1 selinux: httpd_can_connect_db set 2013-10-05 02:33:10 +00:00
Miroslav Suchý
a7890c6874 enable ssh_sysadm_login sebool for all clouds
addressing:
type=AVC msg=audit(1380833385.268:173): avc:  denied  { getattr } for  pid=781 comm="sshd" path="/root/.ssh/authorized_keys" dev="vda1" ino=6493 scontext=system_u:system_r:sshd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=file
2013-10-04 07:36:31 +00:00
Miroslav Suchý
c0d3729ce2 update playbooks for copr-be-dev 2013-10-03 20:37:34 +00:00
Miroslav Suchý
7a309f3f86 use internal ip address for copr.repo 2013-10-03 12:45:27 +00:00
Stephen Smoogen
d9ae1269d1 Added IUD 2013-10-03 01:20:21 +00:00
Kevin Fenzi
d897a71e5d Try this 2013-10-03 00:22:39 +00:00
Kevin Fenzi
6c55c0dda0 Fine then, bump it a bit more 2013-10-03 00:18:41 +00:00
Kevin Fenzi
6db6af6afb Adjust nrpe values for these virthosts. 2013-10-02 15:59:46 +00:00
Kevin Fenzi
9b97078b2a Fix nagios in vhost_reboot 2013-10-02 19:40:24 +00:00
Stephen Smoogen
80d5497bdd Add vhost15 2013-10-01 22:52:33 +00:00
Kevin Fenzi
5fe0dc0037 Add a iscsi_client role, add to virthosts 2013-10-01 16:50:55 +00:00
Aurélien Bompard
99c56cb70d Mailman: adjust path in script 2013-10-01 15:41:13 +00:00
Aurélien Bompard
5ac9c05154 Stupid typo 2013-10-01 14:52:38 +00:00
Aurélien Bompard
df75244847 Fix linebreak 2013-10-01 14:47:19 +00:00
Aurélien Bompard
ca61692776 OK I spotted my syntax error this time 2013-10-01 14:11:12 +00:00
Aurélien Bompard
7ffbb98c70 Fix syntax 2013-10-01 14:02:01 +00:00
Aurélien Bompard
0677e06d50 Mailman: enable the prototype archiver 2013-10-01 13:55:38 +00:00
Aurélien Bompard
a7b83a7f28 Setup HyperKitty and Postorius in the same Django instance 2013-10-01 13:55:38 +00:00
Aurélien Bompard
c50469ade8 The httpd init script should be executable 2013-10-01 13:55:38 +00:00
Patrick Uiterwijk
4dcc5ae689 This code is running as tahrir:tahrir 2013-10-01 08:54:21 +00:00
Kevin Fenzi
9570a444a3 I guess we never got groups working with this. 2013-09-30 22:54:29 +00:00
Kevin Fenzi
06a239ac71 Add shogun-ca instance per ticket 4032 2013-09-30 22:52:08 +00:00
Kevin Fenzi
ff67503a15 Accel the update playbook 2013-09-30 18:15:41 +00:00
Pierre-Yves Chibon
978f481d55 Add dogpile dependency and configuration to nuancier 2013-09-30 13:12:04 +00:00
Ralph Bean
55d12dc69b Accelerate mode on for the badges playbooks. 2013-09-27 14:38:51 +00:00
Ralph Bean
078dde5680 Correct perm for fedmsg keys. 2013-09-27 13:59:50 +00:00
Ralph Bean
114ed6a719 Cosmetic. Indent this fedmsg task. 2013-09-27 13:59:29 +00:00
Pierre-Yves Chibon
6b148f50bc Thou shall not ammend and forget the file 2013-09-27 09:53:25 +00:00
Pierre-Yves Chibon
e1a48e15f7 Add missing dependencies on python-openid-cla and python-openid-teams 2013-09-27 09:49:40 +00:00
Pierre-Yves Chibon
6485c98878 Don't forget the configuration now 2013-09-27 09:46:27 +00:00
Pierre-Yves Chibon
1a22da9dc1 Add quick and dirty hotfix for flask_fas_openid 2013-09-27 09:43:47 +00:00
Patrick Uiterwijk
56b43fde5a Remove this line, as it was not needed 2013-09-27 07:00:44 +00:00
Kevin Fenzi
4c4ad6cefd Update keypair to the new one 2013-09-26 21:34:09 +00:00
Nick Bebout
535c634d69 Add update_dns playbook 2013-09-26 21:33:03 +00:00
Miroslav Suchý
46409f50bd fix typo
addressing:
ERROR: Syntax Error while loading YAML script, /srv/web/infra/ansible/playbooks/hosts/copr-fe-dev.cloud.fedoraproject.org.yml
Note: The error may actually appear before this position: line 33, column 5

    action: yum state=installed pkg=$item
    - copr-frontend
    ^
2013-09-26 21:15:22 +00:00
Ricky Elrod
e2efb2d1d9 more when_integer -> when changes 2013-09-26 20:04:28 +00:00
Ricky Elrod
5452ab5346 add a task to install libselinux-python so ansible doesn't abort. 2013-09-26 19:55:23 +00:00
Ricky Elrod
c17fe661c4 try when instead of when_integer? 2013-09-26 19:28:00 +00:00
Ricky Elrod
c4451ee680 try quotes? 2013-09-26 18:49:57 +00:00
Ricky Elrod
442bef15b3 change this conditional to "when" syntax 2013-09-26 17:56:22 +00:00
Pierre-Yves Chibon
6309daa7f5 Add PREFERRED_URL_SCHEME to nuancier-lite seems to fix login 2013-09-26 17:47:32 +00:00
Ralph Bean
6014e19b6c Rename incorrectly named files. 2013-09-26 16:11:57 +00:00
Ralph Bean
aa248e3d39 Typofix. 2013-09-26 15:48:08 +00:00
Ralph Bean
589f22d45f Turn accelerate back on. 2013-09-26 15:44:25 +00:00
Ralph Bean
adfc5eaaaf copy/pasta fix. 2013-09-26 15:44:13 +00:00
Ralph Bean
b2a1eef7c5 Move fedmsg to its own play so that users and groups are created first. 2013-09-26 15:44:01 +00:00
Ralph Bean
19cc07fcdd Add hosts files for nuancier. 2013-09-26 15:39:44 +00:00
Ralph Bean
c5de102ff6 Turn off accelerate for now. 2013-09-26 15:30:55 +00:00
Ralph Bean
ca358cf22b Setup accelerate mode beforehand. 2013-09-26 15:28:45 +00:00
Ralph Bean
1a7046f645 Turn on "accelerate". 2013-09-26 15:23:08 +00:00
Ralph Bean
767cd29c77 Try doing fedmsg last. 2013-09-26 15:22:18 +00:00
Ralph Bean
608b001d39 Typofix. 2013-09-26 14:58:21 +00:00
Ralph Bean
2d9a800f30 Update a number of only_if conditionals. 2013-09-26 14:57:26 +00:00
Ralph Bean
e2f1495aa9 Ensure libselinux-python is installed before we try to manage sshd_config. 2013-09-26 14:57:09 +00:00
Ralph Bean
a9b6ef9f11 Add the prod nuancier group to the nuancier playbook. 2013-09-26 14:46:07 +00:00
Ralph Bean
4b699a5675 Add inventory info for the nuancier prod nodes. 2013-09-26 14:45:14 +00:00
Ralph Bean
4b8c8951db Declare fedmsg endpoints for nuancier. 2013-09-26 14:30:04 +00:00
Ralph Bean
1c4ed1ee9c That, except not. 2013-09-26 14:21:14 +00:00
Ralph Bean
1f79455783 Try changing that only_if to a when statement. 2013-09-26 14:17:45 +00:00
Ralph Bean
a25767a969 Declare a fedmsg shell cert for the nuancier nodes. 2013-09-26 14:09:56 +00:00
Miroslav Suchý
fdf1217f48 update copr-fe-dev playbook
... to match last copr.rpm and copr-setup.txt
Also move to F19 as current Copr does not run on EL6
2013-09-26 12:54:08 +00:00
Kevin Fenzi
965e506f47 Accellerate all the things! 2013-09-25 21:01:45 +00:00
Kevin Fenzi
9245c6534f Disable accel again to test speed 2013-09-25 20:58:13 +00:00
Kevin Fenzi
2394bfe6cc Default env to produciton, override in staging vars 2013-09-25 20:55:47 +00:00
Kevin Fenzi
48e5075d85 Try this 2013-09-25 20:51:42 +00:00
Kevin Fenzi
54d4135670 Lets see if accelerate works. ;) 2013-09-25 20:36:01 +00:00
Kevin Fenzi
86bd1bc69a Quotes? 2013-09-25 20:35:14 +00:00
Kevin Fenzi
e6025b6e8c Might be it needs this. 2013-09-25 20:32:47 +00:00
Kevin Fenzi
612f2ac42f Ok, how about this syntax? 2013-09-25 20:29:02 +00:00
Kevin Fenzi
6b9c8d954a Try updating syntax here. 2013-09-25 20:25:26 +00:00
Kevin Fenzi
7e60bb96b0 Re-add the skip for not found on host task 2013-09-25 20:04:13 +00:00
Kevin Fenzi
be8a1cbb7a Adjust template to handle undefined variables. 2013-09-25 20:02:25 +00:00
Kevin Fenzi
45495effe2 Also default custom_rules to empty 2013-09-25 19:58:45 +00:00
Kevin Fenzi
dbb59048db Default iptables ports to empty for new ansible version that doesn't like undefined vars 2013-09-25 19:57:35 +00:00
Ralph Bean
363160651e Point the sign_and_import script at the prod repo. 2013-09-25 15:07:05 +00:00
Pierre-Yves Chibon
d5171f3d50 Fix apache conf file for nuancier 2013-09-21 07:40:02 +00:00
Pierre-Yves Chibon
07afa13b9d Revert "Revert "Fix prefix for nuancier""
This reverts commit 2f2ab18e4c.
2013-09-21 07:34:57 +00:00
Pierre-Yves Chibon
2f2ab18e4c Revert "Fix prefix for nuancier"
This reverts commit 57cc4905f7.
2013-09-20 19:54:31 +00:00
Pierre-Yves Chibon
57cc4905f7 Fix prefix for nuancier 2013-09-20 19:51:17 +00:00
Pierre-Yves Chibon
59eb33e493 Turn on debug for testing 2013-09-20 19:18:14 +00:00
Pierre-Yves Chibon
5b86013c07 Fix DB_URL for nuancier-lite 2013-09-20 19:16:19 +00:00
Pierre-Yves Chibon
524695d103 Add handler to nuancier playbook 2013-09-20 18:09:04 +00:00
Pierre-Yves Chibon
122769c32b Rename nuancier.cfg 2013-09-20 18:06:18 +00:00
Kevin Fenzi
26c566750d Try this 2013-09-20 17:42:54 +00:00
Pierre-Yves Chibon
141d91c73f Back to the very original syntax 2013-09-20 16:30:04 +00:00
Pierre-Yves Chibon
3b9d3d2661 Come back to previous syntax 2013-09-20 16:24:01 +00:00
Pierre-Yves Chibon
44f3fc4bf7 Another test 2013-09-20 16:21:31 +00:00
Pierre-Yves Chibon
21cdce6765 Ignore error but still report them 2013-09-20 16:18:32 +00:00
Pierre-Yves Chibon
0115f9afdc Fix typo 2013-09-20 16:16:46 +00:00
Pierre-Yves Chibon
bf107cb007 Remove local first_found plugin 2013-09-20 16:13:54 +00:00
Pierre-Yves Chibon
8cb07e13e2 test another syntax 2013-09-20 18:12:12 +02:00
Pierre-Yves Chibon
a2d790628c Testing using quotes 2013-09-20 18:07:23 +02:00
Pierre-Yves Chibon
6e4809fb1d Let's not skip 2013-09-20 18:01:09 +02:00
Pierre-Yves Chibon
cdfcf93ce7 Name the files correctly 2013-09-20 15:27:14 +00:00
Pierre-Yves Chibon
1f86fbdd29 Add hosts files for nuancier0{1,2}.stg 2013-09-20 17:19:55 +02:00
Pierre-Yves Chibon
f81b71ea60 Add dependency to python-psycopg2 2013-09-20 15:10:34 +00:00
Pierre-Yves Chibon
25d246b1af Run the nuancier role at the end, once everything is in place 2013-09-20 15:04:57 +00:00
Pierre-Yves Chibon
e0c98e96dd With dict representation in yaml 2013-09-20 16:53:03 +02:00
Pierre-Yves Chibon
aa2706c10e environment should be a dict 2013-09-20 16:51:43 +02:00
Pierre-Yves Chibon
5ed8f2342f Test another way to call createdb 2013-09-20 16:48:36 +02:00
Pierre-Yves Chibon
73ccae5323 Add nuancier to ssl.py 2013-09-20 16:40:13 +02:00
Pierre-Yves Chibon
370aa99701 Let's try the command with the full path 2013-09-20 16:13:32 +02:00
Pierre-Yves Chibon
21f006b86a Add the role nuancier to the playbook 2013-09-20 14:10:13 +00:00
Pierre-Yves Chibon
fd28ce82b7 Atm nuancier has only one fedmsg certificate 2013-09-20 15:59:43 +02:00
Pierre-Yves Chibon
ac7ccee552 Comment out fedmsg info in inventory of nuancier 2013-09-20 15:47:38 +02:00
Pierre-Yves Chibon
990dd0ada0 Fix the name of the configuration file 2013-09-20 13:37:15 +00:00
Pierre-Yves Chibon
b876460607 The configuration file is nuancier-lite.cfg and fix the call to createdb.py 2013-09-20 13:40:05 +02:00
Pierre-Yves Chibon
e2fb4d7cac Tag yum clean all as being related to packages 2013-09-20 13:33:04 +02:00
Pierre-Yves Chibon
c3674065e1 Run yum clean all before installing nuancier-lite 2013-09-20 13:31:45 +02:00
Pierre-Yves Chibon
ffcbe72031 Small formatting changes 2013-09-20 12:35:03 +02:00
Pierre-Yves Chibon
1120037afd Fix syntax error and install wsgi and apache conf file only when needed 2013-09-20 12:28:40 +02:00
Pierre-Yves Chibon
2115866868 Update the nuancier role and add a new template 2013-09-20 12:01:18 +02:00
Ralph Bean
8c0bb9b136 Add the beginning of a role for nuancier. 2013-09-19 19:29:21 +00:00
Ralph Bean
e186f6feec Add nuancier02.stg to the staging group.. it was forgotten. 2013-09-19 03:48:57 +00:00
Ralph Bean
a6c4e54c8d Add inventory and playbook for nuancier staging nodes. 2013-09-19 03:33:43 +00:00
Nick Bebout
9c8b106468 Add wildcard intermediate cert for sks 2013-09-16 17:00:17 +00:00
Nick Bebout
088f55536b Fix keys.fedoraproject.org colors 2013-09-16 16:49:54 +00:00
Nick Bebout
9689377c27 Fix SKS url 2013-09-16 16:49:29 +00:00
Ralph Bean
72bf42a9f5 Add the design team badge to the cronjob. 2013-09-16 14:36:22 +00:00
Ralph Bean
730e83903f Treat openid addresses as utf-8 in the mugshot awarder script. 2013-09-16 00:59:04 +00:00
Kevin Fenzi
7777a835b9 Fix filename 2013-09-13 18:02:55 +00:00
Kevin Fenzi
63fa608bce Move again the installing of koji pkg on db server 2013-09-13 17:25:48 +00:00
Kevin Fenzi
e368591739 Move koji pkg install 2013-09-13 00:26:53 +00:00
Kevin Fenzi
82a00ed5aa We need the koji package on the db server too to get the schema 2013-09-12 23:10:15 +00:00
Kevin Fenzi
29be86c326 Make this more specific 2013-09-12 23:05:40 +00:00
Kevin Fenzi
d7ffa40a2d Kinda need the db user created before it can make db's 2013-09-12 23:03:14 +00:00
Kevin Fenzi
3dae75234b Move postgresql stuff around. 2013-09-12 22:56:34 +00:00
Kevin Fenzi
51746b66d0 fix name and template path here. 2013-09-12 22:44:30 +00:00
Kevin Fenzi
9d56847976 Add postgresql config 2013-09-12 22:40:01 +00:00
Kevin Fenzi
35c1ff1d8c Add python psycopg2 2013-09-12 22:27:42 +00:00
Kevin Fenzi
86b56a0c24 Need hosts task here. 2013-09-12 22:12:45 +00:00
Kevin Fenzi
10e3a39f47 Update gpg key path for fedora arm repos 2013-09-12 21:58:26 +00:00
Ralph Bean
87cff73a73 Remove a cruft. 2013-09-12 20:54:24 +00:00
Ralph Bean
9270a82044 Add a script to retrieve a persons ID from the badges db on badges-backend01. 2013-09-12 20:34:19 +00:00
Kevin Fenzi
26f73f413c Move the koji db stuff to it's own role, include in postgres playbook only on kojidb hosts 2013-09-12 17:42:57 +00:00
Kevin Fenzi
63b70b12d4 Fix the rest too 2013-09-12 17:08:32 +00:00
Kevin Fenzi
d3db0b5643 Tweak shell args 2013-09-12 17:06:58 +00:00
Kevin Fenzi
92b4a3ff7c Add prelim, unfinished yet cut at koji hub role for aarch64 hub. 2013-09-12 17:01:07 +00:00
Nick Bebout
0fba97c3b0 Put my whole fingerprint as server_contact not just short keyid 2013-09-11 20:35:21 +00:00
Nick Bebout
5dafc6e6c6 Remove keys-dev.cloud from membership file for sks 2013-09-11 20:34:47 +00:00
Stephen Smoogen
4dd6934f48 Add bvirthost07/08 to the inventory. 2013-09-11 20:30:08 +00:00
Ralph Bean
8f257305df Point that var at the testing repo. 2013-09-06 14:01:01 +00:00
Ralph Bean
e2dff8513c Use a var for the repodir in the sign-and-import playbook. 2013-09-06 14:01:01 +00:00
Aurélien Bompard
de589ffcf9 Fix started services list 2013-09-06 11:23:32 +00:00
Aurélien Bompard
712a661776 Mailman: the conf dir name is versionned 2013-09-06 08:34:09 +00:00
Aurélien Bompard
2343b7c0d2 Mailman: skip granting perms on the DB app users
At least until there's a better solution available (eg the Ansible bug
is fixed). For PG<9, there's no way to grant on all tables at once.
2013-09-06 06:53:17 +00:00
Aurélien Bompard
47f420f433 Mailman: don't use postgresql_privs, it's buggy
See: https://github.com/ansible/ansible/issues/4043
2013-09-06 06:06:23 +00:00
Ralph Bean
679cd342bb Use the new tahrir notification callback in yet another place. 2013-09-05 20:31:31 +00:00
Aurélien Bompard
a3f009754b Syntax error 2013-09-05 17:37:18 +00:00
Aurélien Bompard
319dd9bebb mailman: missing parameter 2013-09-05 17:30:00 +00:00
Aurélien Bompard
561ae8423d Separate DB user privileges from creation
(race condition)
2013-09-05 17:25:08 +00:00
Aurélien Bompard
c790d0b90d Use db02.stg as a DB server 2013-09-05 16:46:18 +00:00
Aurélien Bompard
9fa31f6305 Make it obvious it's mailman3 that's restarted 2013-09-05 16:43:25 +00:00
Aurélien Bompard
6ccc54bb9e Fix handlers 2013-09-05 16:36:18 +00:00
Aurélien Bompard
05524ff6db Fix syntax error 2013-09-05 16:28:45 +00:00
Aurélien Bompard
16cc8ecc02 Don't use the roles variable, it does not work yet 2013-09-05 16:26:59 +00:00
Aurélien Bompard
440c84cc59 Initial version of the mailman setup 2013-09-05 15:43:24 +00:00
Kevin Fenzi
dfddc08d9d Arm in f19 is secondary, so the repo paths are all different. 2013-09-05 03:07:25 +00:00
Kevin Fenzi
8659e811dd Set repos for fedora machines to use infrastructure repo. 2013-09-05 02:11:53 +00:00
Ralph Bean
72daf52395 Yet another typo fix. 2013-09-04 18:38:37 +00:00
Ralph Bean
097c7b2414 Validate that the badge ids actually exist. 2013-09-04 18:32:04 +00:00
Ralph Bean
d690b42006 Another typofix. 2013-09-04 18:22:01 +00:00
Ralph Bean
a2c7e24745 Forgot the .iteritems() here. 2013-09-04 18:17:13 +00:00
Ralph Bean
e6b8eab5fc Make the badge award cronjob more flexible. 2013-09-04 18:11:39 +00:00
Ralph Bean
76a44ec771 Use tahrir-api notification machinery in the badges cron jobs. 2013-09-04 16:24:17 +00:00
Ralph Bean
b127371ef1 Take badges nodes out of the freeze list as per the freeze break request email. 2013-09-04 15:25:43 +00:00
Nick Bebout
faf21e5dff Merge branch 'master' of /git/ansible 2013-09-04 00:54:03 +00:00
Nick Bebout
1031862d7e Add title and link Fedora logo back to main website 2013-09-04 00:53:45 +00:00
Kevin Fenzi
713a9926ce Note that keys doesn't freeze. 2013-09-04 00:35:01 +00:00
Nick Bebout
8eb6762f4b Replace eagle.jhcloos.com with keys.jhcloos.com per email to nb 2013-09-04 00:32:08 +00:00
Nick Bebout
25279ce70f Remove more hardcoded urls 2013-09-04 00:31:13 +00:00
Nick Bebout
981f597365 Remove hardcoded url, just use /pks/lookup 2013-09-04 00:30:43 +00:00
Kevin Fenzi
3c4b440678 Freezebreak: Adjust rsyslogd for buildvm/buildarm instances to pull correctly from journald. 2013-09-03 21:11:25 +00:00
Kevin Fenzi
ce9ef9bf20 Need a correct gw here. 2013-08-30 21:00:37 +00:00
Kevin Fenzi
646c3a9647 Add docs-backend playbook and host 2013-08-30 20:51:01 +00:00
Kevin Fenzi
3f2d88081b Also backup /srv/web on people03 2013-08-30 20:35:41 +00:00
Kevin Fenzi
adce8a9211 Add yum-cron to taskbot01 2013-08-30 20:12:56 +00:00
Kevin Fenzi
f0c68a4a82 Switch taskbot over to a f19 instance. 2013-08-30 19:59:20 +00:00
Kevin Fenzi
5b55bdd257 Fix path to root key 2013-08-30 19:32:00 +00:00
Kevin Fenzi
8147d339ce Set limits higher for nrpe on virthost-comm02 2013-08-28 22:07:44 +00:00
Ralph Bean
8191128c44 These cronjobs should append to their logs. 2013-08-28 19:33:35 +00:00
Ralph Bean
2c5dde0e3d Badges stuff requires sqlalchemy 0.8 or later. 2013-08-28 14:34:51 +00:00
Ralph Bean
74c5c8fa36 Turns out you need to explicitly expire cache. 2013-08-28 14:00:13 +00:00
Dennis Gilmore
da44c683a9 add eth1 ips to buildvm hosts 2013-08-27 22:23:38 +00:00
Kevin Fenzi
51bf4b6268 Add a script that can find a vm instance and kill/undefine it. Use with care! 2013-08-27 20:54:20 +00:00
Kevin Fenzi
33da79db04 Fine then, how about this one? 2013-08-27 20:49:44 +00:00
Kevin Fenzi
9dd63c9b76 Try this, didn't like the previous syntax. 2013-08-27 20:47:17 +00:00
Kevin Fenzi
1ac234e266 Only install this module on rhel, not fedora buildvm's 2013-08-27 20:43:24 +00:00
Kevin Fenzi
8f40999d13 Fix route-eth1 2013-08-27 20:29:30 +00:00
Kevin Fenzi
03f0721efd Set nameserver too 2013-08-27 19:43:49 +00:00
Kevin Fenzi
e53ee7840d Revert "Lets give this a try"
This reverts commit fe66cb31fc.
Didn't work at all. ;)
2013-08-27 19:08:56 +00:00
Kevin Fenzi
fe66cb31fc Lets give this a try 2013-08-27 19:05:06 +00:00
Kevin Fenzi
4d4167cc81 If we set eth1 gw it apparently tries to use that for everything. 2013-08-27 18:44:38 +00:00
Kevin Fenzi
90011f9b03 Try this to sort out eth1 2013-08-27 18:25:55 +00:00
Kevin Fenzi
24b2661504 How about passing the right command. 2013-08-27 17:58:05 +00:00
Kevin Fenzi
5278250229 Further tweak 2013-08-27 16:52:38 +00:00
Kevin Fenzi
ddc3c08182 Might be disk needs this? 2013-08-27 16:47:54 +00:00
Kevin Fenzi
14ad3d34e9 Fix up buildvm playbook to build first. 2013-08-27 16:37:42 +00:00
Kevin Fenzi
31b3c1be15 Reorg buildvm/releng playbooks to use base and not duplicate parts of it. 2013-08-27 16:32:55 +00:00
Kevin Fenzi
5875104df3 Default the buildvm's to this one sshd_config 2013-08-27 15:01:25 +00:00
Dennis Gilmore
8a07df00f4 add build versions fo sshd_config 2013-08-27 05:42:31 +00:00
Dennis Gilmore
cdb4e9ed9c include base role in builders 2013-08-27 05:22:42 +00:00
Dennis Gilmore
16a9759969 switch builders to being fedora 19 based 2013-08-27 04:57:00 +00:00
Kevin Fenzi
9f2514c5b9 Minor output tweak to vhost-info script 2013-08-25 19:29:23 +00:00
Kevin Fenzi
66621b512e Rename some scripts. ans- is kinda pointless since they are in the ansible repo. ;) 2013-08-25 19:24:24 +00:00
Kevin Fenzi
aecec53380 Move base to a role.
Clean up syntax in all the base tasks.
Add CONVENTIONS file for info on where things go.
Tweak readme.
Switch add playbooks to base role instead of task.
2013-08-25 18:44:54 +00:00
Kevin Fenzi
337614085a sign-vault02 is not around anymore 2013-08-25 17:08:33 +00:00
Dennis Gilmore
bf2187393c drop compose group and move to releng 2013-08-25 01:46:46 +00:00
Dennis Gilmore
f83dff4476 make sure we have dirs we need and symlink shared bits for compose 2013-08-25 01:43:39 +00:00
Dennis Gilmore
c0b8c3f816 mount /mnt/fedora_koji/ inside compose chroots 2013-08-25 01:40:24 +00:00
Dennis Gilmore
b663b6cbfc try without trailing / 2013-08-24 22:56:31 +00:00
Dennis Gilmore
5d1d223ce5 try make the symlink a different way 2013-08-24 21:33:40 +00:00
Dennis Gilmore
25c9f19d7f symlink /mnt/fedora_koji/compose/ to /srv/pungi 2013-08-24 21:26:20 +00:00
Kevin Fenzi
51bdaac0a1 Simplify nagios client template items. (Thanks misc!) 2013-08-24 18:50:59 +00:00
Dennis Gilmore
b0cd472396 make sure we have /srv/pungi and /pub/alt dirs on releng boxes 2013-08-24 18:44:46 +00:00
Dennis Gilmore
7247c51c21 add armhfp compose mock configs and make sure they are installed 2013-08-24 18:40:55 +00:00
Kevin Fenzi
878bc25d22 Add f20 sshd config 2013-08-24 18:21:23 +00:00
Dennis Gilmore
01273d244b add arm-releng sshd_config 2013-08-24 18:02:42 +00:00
Kevin Fenzi
e79ed31565 squiggly 2013-08-23 23:40:54 +00:00
Kevin Fenzi
3dd836b088 ok, fine, lets be more verbose 2013-08-23 23:25:13 +00:00
Kevin Fenzi
5082e54355 Lets try this syntax. :) 2013-08-23 23:22:30 +00:00
Kevin Fenzi
d2b0a7832a Fix nrpe templates so they install as .cfg files and not .cfg.j2 2013-08-23 23:16:04 +00:00
Kevin Fenzi
3228299291 Clean up sudoers 2013-08-23 22:55:24 +00:00
Kevin Fenzi
ad1914b567 Add correct variables 2013-08-23 22:33:10 +00:00
Kevin Fenzi
d0eeb056af Add handlers 2013-08-23 22:29:16 +00:00
Kevin Fenzi
036fde1d4f Make a 19 version 2013-08-23 22:26:17 +00:00
Kevin Fenzi
5931ac0db5 Also revert this part 2013-08-23 22:23:58 +00:00
Kevin Fenzi
63007a670e went a step too far. 2013-08-23 22:23:30 +00:00
Kevin Fenzi
f1f1fbd435 Convert this ssh task entirely to new syntax, add ansible_distribution_version 2013-08-23 22:22:14 +00:00
Kevin Fenzi
0b8262c195 Perhaps this is right? lets try 2013-08-23 22:16:53 +00:00
Kevin Fenzi
2a76938de3 We may need to update this syntax. 2013-08-23 22:12:04 +00:00
Kevin Fenzi
8934d2c5a4 This should work hopefully. 2013-08-23 22:02:20 +00:00
Kevin Fenzi
2f53b38e79 Try moving this here. 2013-08-23 21:55:13 +00:00
Kevin Fenzi
1bbbd709bf Try and make our nagios setup 32/64 bit happy. Add a bunch of things to arm-releng playbook. 2013-08-23 21:50:25 +00:00
Ralph Bean
cf5aefa4fe Style cleanup. 2013-08-23 19:16:14 +00:00
Ralph Bean
724e8403d8 Start awarding the sponsor badge in the oldschool badges cron. 2013-08-23 19:16:05 +00:00
Ralph Bean
2c2783e127 Add logs and logrotate for badge award cronjobs on badges-backend01. 2013-08-23 15:17:25 +00:00
Ralph Bean
6c284c827e Some bugfixes to that badge award script. 2013-08-23 14:51:44 +00:00
Ralph Bean
430695a93f Only initialize all the things until after we checked CLI arguments. 2013-08-23 14:45:47 +00:00
Ralph Bean
46f0f924a9 Tweak that mode. 2013-08-23 14:43:22 +00:00
Ralph Bean
1d0456298e Add a one-off script for awarding badges. 2013-08-23 14:39:05 +00:00
Ralph Bean
06b7bffd02 Role duplicate roles declaration into one. 2013-08-23 13:50:49 +00:00
Nick Bebout
cbbd2ed615 Turn ProxyVia on 2013-08-23 03:24:57 +00:00
Nick Bebout
d5891ee871 Serve fedora-logo from https so it will stop browser warnings 2013-08-23 02:18:10 +00:00
Nick Bebout
15e2fdec9e proxy port 80 to sks also 2013-08-23 02:13:32 +00:00
Nick Bebout
7ed979cbd4 Enable SNI for keys 2013-08-23 02:07:24 +00:00
Nick Bebout
605866f5cc Certificates should be owned by root 2013-08-23 01:47:16 +00:00
Nick Bebout
aa94ea7b49 Fix paths 2013-08-23 00:45:02 +00:00
Nick Bebout
c1ca6c95c4 put wildcard cert on keys01 2013-08-23 00:34:50 +00:00
Nick Bebout
0002cd0cce Add custom ssl.conf 2013-08-22 23:14:48 +00:00
Nick Bebout
c797ed7888 Merge branch 'master' of /git/ansible 2013-08-22 22:34:03 +00:00
Nick Bebout
b9d6c832cb Fix path 2013-08-22 22:33:56 +00:00
Ralph Bean
06b38f635a Improved sign-and-import playbook. 2013-08-22 21:13:05 +00:00
Nick Bebout
9e3e306b79 Fix syntax 2013-08-22 03:54:55 +00:00
Nick Bebout
fb9a416491 Run sks-db and sks-recon on boot 2013-08-22 03:54:04 +00:00
Nick Bebout
4a66c4e699 Merge branch 'master' of /git/ansible 2013-08-22 03:53:11 +00:00
Nick Bebout
91a94d8db5 Install mod_ssl 2013-08-22 03:53:00 +00:00
Nick Bebout
fb018c0941 membership file changes 2013-08-22 03:40:11 +00:00
Nick Bebout
3d730fd457 sksconf changes 2013-08-22 03:39:29 +00:00
Ralph Bean
a5aca28f0f Finish off that playbook. 2013-08-21 20:05:42 +00:00
Ralph Bean
99266722b6 Puppet on the brain. 2013-08-21 19:31:07 +00:00
Ralph Bean
fa592284b7 Update the host. 2013-08-21 19:29:42 +00:00
Ralph Bean
702311cc3c Start of a stub of a fedorahosted-git + fedmsg playbook. 2013-08-21 19:27:55 +00:00
Kevin Fenzi
4dbcf3f226 Add yum-cron role, add to mailman-stg group. 2013-08-21 17:09:40 +00:00
Ralph Bean
236acce903 Disable badges cronjobs in staging. 2013-08-21 15:55:14 +00:00
Dennis Gilmore
cf0e452105 use f20 buildroot for branched 2013-08-21 14:35:36 +00:00
Ralph Bean
31868e7896 No need to save these. 2013-08-20 20:09:45 +00:00
Ralph Bean
4c81cc6b65 Ensure the fedmsg user has a homedir for cron to work. 2013-08-20 19:34:07 +00:00
Ralph Bean
e38d3a6088 Cron syntax. 2013-08-20 18:54:41 +00:00
Ralph Bean
4d01b7f4e2 Fix an actual bug. 2013-08-20 18:49:09 +00:00
Ralph Bean
f3c2d8132d Still more adjusting. 2013-08-20 18:46:15 +00:00
Ralph Bean
4923b7a1fd Adjust it yet again. 2013-08-20 18:45:40 +00:00
Ralph Bean
e9afaab2c2 Adjust when the cronjob runs. 2013-08-20 18:42:04 +00:00
Ralph Bean
6971c2f402 Log output from badge awarding cronjobs. 2013-08-20 18:37:56 +00:00
Nick Bebout
60df08fc1a Add /etc/httpd/conf.d/sks.conf to ansible 2013-08-20 00:53:10 +00:00
Nick Bebout
665f1ee4e0 Fix syntax 2013-08-19 23:03:04 +00:00
Nick Bebout
b4f81cdf33 Merge branch 'master' of /git/ansible 2013-08-19 23:02:20 +00:00
Nick Bebout
f3ad1a6570 Keyserver should regenerate stats page hourly 2013-08-19 23:02:06 +00:00
Kevin Fenzi
e448c9d80f Add openvpn client. 2013-08-19 21:53:09 +00:00
Kevin Fenzi
4fd845e41c Try this. 2013-08-19 21:25:28 +00:00
Ralph Bean
744e41c179 Add another cronjob for the libravatar badge to badges-backend01. 2013-08-19 21:16:57 +00:00
Kevin Fenzi
3ccd34fad9 Clean up nagios client templates. 2013-08-19 21:14:59 +00:00
Kevin Fenzi
53a138d49f This is really a template 2013-08-19 21:09:42 +00:00
Kevin Fenzi
6faab6d9bc Move this to templates too 2013-08-19 21:08:14 +00:00
Kevin Fenzi
b2f0ef86da Move template to the templates dir 2013-08-19 21:06:22 +00:00
Kevin Fenzi
7ec446f2fb Revert this attempt 2013-08-19 21:04:46 +00:00
Kevin Fenzi
8215951252 Just hard code these for now until we can figure out why $roles doesn't work. 2013-08-19 21:04:17 +00:00
Kevin Fenzi
8e2ec48cc0 Migrate a bunch of things to roles. Thanks to misc! 2013-08-19 20:12:26 +00:00
Nick Bebout
16ce004157 Disable sks-db and sks-recon for now 2013-08-19 19:42:57 +00:00
Nick Bebout
9112d12d6f Merge branch 'master' of /git/ansible 2013-08-19 19:30:24 +00:00
Nick Bebout
3272ac4b67 Tweaks to group_vars for keys 2013-08-19 19:29:50 +00:00
Ralph Bean
03cbac1320 Shebang. 2013-08-19 19:24:00 +00:00
Ralph Bean
5dd3b837ba Change owner and perms of that cron script. 2013-08-19 19:23:13 +00:00
Ralph Bean
2359f4cdbb Fix paths. 2013-08-19 19:21:07 +00:00
Ralph Bean
332db02c1c Try out this badge awarder as a cronjob. 2013-08-19 19:20:01 +00:00
Ralph Bean
69fab89a0c Remove some unneeded whitespace from the copr playbooks. 2013-08-19 17:39:10 +00:00
Kevin Fenzi
3f44fe132e releng03 is no more 2013-08-19 17:26:14 +00:00
Kevin Fenzi
7fc9bc2ff2 Add value03 to backups 2013-08-19 16:27:01 +00:00
Kevin Fenzi
85e118ae26 Add rdiff-backup reporting emails. 2013-08-19 15:44:55 +00:00
Ralph Bean
da8d00a517 Use httpd aliases for static resources. 2013-08-16 20:03:57 +00:00
Kevin Fenzi
8bb1a9e6f4 Add sks handlers 2013-08-16 18:00:44 +00:00
Ralph Bean
b6918e7d34 First draft of a playbook for signing and importing rpms. 2013-08-16 14:53:06 +00:00
Ralph Bean
78ac81e723 Comment out that expire-cache section for now. 2013-08-16 14:30:31 +00:00
Ralph Bean
abb5fd2041 Use the ansible yum module instead of an action. 2013-08-16 14:24:07 +00:00
Ralph Bean
12a4eca746 New playbook to push out packages, usually from lockbox. 2013-08-16 14:16:12 +00:00
Ricky Elrod
ad4fc390f6 I guess this is why everyone says I should stay in school. :P 2013-08-16 02:46:31 +00:00
Nick Bebout
4147bb7e35 Files should be chowned sks:sks 2013-08-16 02:33:33 +00:00
Nick Bebout
7965caeebb Merge branch 'master' of /git/ansible 2013-08-16 02:29:12 +00:00
Nick Bebout
a678d8308a Add /srv/sks and /srv/sks/web directories to ansible 2013-08-16 02:29:00 +00:00
Ricky Elrod
bc0f7492c2 specify the full hostname here 2013-08-16 02:25:11 +00:00
Ricky Elrod
5ee00293f5 first attempt at keys01....might not work. 2013-08-16 02:21:31 +00:00
Nick Bebout
990f5f044f Run sks-db and sks-recon on boot 2013-08-15 22:39:12 +00:00
Nick Bebout
8c306e4f7a Add sks web files 2013-08-15 22:36:45 +00:00
Nick Bebout
81d0789fb4 Initial commit of files for ansible-izing keyserver 2013-08-15 22:27:42 +00:00
Ralph Bean
82a6edbbf3 The pngs arent really config, now are they.. 2013-08-15 21:31:42 +00:00
Ralph Bean
e38211b237 Pull in badges site-docs changes from upstream git repo. 2013-08-15 21:27:56 +00:00
Ralph Bean
9d0f024681 This glob is not globbing. 2013-08-15 18:24:36 +00:00
Ralph Bean
9b4a6b41fa Remove hotfix for tahrir-0.3.3. 2013-08-15 18:19:01 +00:00
Ralph Bean
75baff2a37 Configuration for the latest tahrir release. 2013-08-15 18:14:22 +00:00
Kevin Fenzi
c53359f4fa Add in a pile of other machines to rdiff-backup. It's going to take it many days. ;) 2013-08-15 17:36:14 +00:00
Kevin Fenzi
7f8431a0d1 This hotfix is using a rhel specific path. 2013-08-14 21:23:46 +00:00
Kevin Fenzi
8ac65b6b63 Use the right ks file 2013-08-14 21:06:35 +00:00
Kevin Fenzi
daf9329741 Fix path 2013-08-14 20:57:35 +00:00
Kevin Fenzi
fa788f1922 Add virt-install command for f19 here. 2013-08-14 20:56:01 +00:00
Ralph Bean
9cd201e1ec Tell tahrir to find the badge pngs where they actually are. 2013-08-14 18:53:46 +00:00
Kevin Fenzi
38c1cb6f81 Fix group name 2013-08-13 02:43:03 +00:00
Kevin Fenzi
ab232cf212 Fix inventory 2013-08-12 21:20:01 +00:00
Kevin Fenzi
749362ae16 Fix group 2013-08-12 21:18:56 +00:00
Kevin Fenzi
3a0857fdd8 Add mailman01.stg 2013-08-12 21:17:21 +00:00
Kevin Fenzi
c89c9de1ac Add beaker01 to ansible 2013-08-12 15:47:12 +00:00
Ricky Elrod
ec3cadb1af new hotfix (leaderboard JSON endpoint) 2013-08-12 07:47:53 +00:00
Ricky Elrod
80a53a17fb nuke old hotfix 2013-08-12 07:44:12 +00:00
Ralph Bean
0a7105213a Add openvpn_client to badges-backend01. 2013-08-11 22:36:41 +00:00
Ralph Bean
337dd8af3e Hotfix to fix broken badge search. 2013-08-09 20:40:06 +00:00
Ralph Bean
2f193be848 Update a few old urls in the badges frontend config. 2013-08-07 15:41:12 +00:00
Ralph Bean
897d92d978 These groups don't actually need port 80. 2013-08-07 15:20:16 +00:00
Ralph Bean
97a3b196d0 Try copying python-fedora hotfix over from puppet. 2013-08-07 14:57:04 +00:00
Patrick Uiterwijk
61034c3ccf Add playbook to clear varnish 2013-08-06 15:41:12 +00:00
Patrick Uiterwijk
681a9273e4 Merge branch 'master' of /git/ansible 2013-08-06 15:40:11 +00:00
Patrick Uiterwijk
ab91d8ea3f Add playbook to clear memcached 2013-08-06 15:39:57 +00:00
Ralph Bean
c8e12740b6 Remove the old fedmsg module. 2013-08-06 02:20:29 +00:00
Ralph Bean
1ed6213786 Use the correct topic. 2013-08-06 01:56:33 +00:00
Ralph Bean
d88dabe798 Use the shell cert. 2013-08-06 01:46:56 +00:00
Ralph Bean
b306a4f54c Rename that to avoid import conflict. 2013-08-06 01:45:51 +00:00
Ralph Bean
fcb24a897c Add forgotten import. 2013-08-06 01:45:22 +00:00
Ralph Bean
8e3bf3f0d6 Typofix. 2013-08-06 01:45:04 +00:00
Ralph Bean
36924c615e Try adding a callback plugin for fedmsg. 2013-08-06 01:44:17 +00:00
Ralph Bean
defd120da2 Remove trailing whitespace. 2013-08-06 01:24:43 +00:00
Ralph Bean
871807aaf8 I can't believe I forgot this... 2013-08-05 20:13:56 +00:00
Ralph Bean
a04aaaf029 Correctly name those endpoints.. 2013-08-05 20:08:57 +00:00
Ralph Bean
435709f550 Ask iptables to open ports for fedmsg on the badges frontend nodes. 2013-08-05 20:02:13 +00:00
Ralph Bean
222e4fcb5b Correct jinja2 template syntax. 2013-08-05 19:20:58 +00:00
Ralph Bean
a17d0ecfd6 s/frontend/web/g 2013-08-05 19:19:17 +00:00
Ralph Bean
e1e07a4588 Typofix. 2013-08-05 19:16:27 +00:00
Ralph Bean
e47153555e Deploy those certs to boxes in the right groups. 2013-08-05 19:11:06 +00:00
Ralph Bean
be316406dd Declare the new fedmsg certs for the badges frontend nodes. 2013-08-05 19:11:05 +00:00
Ralph Bean
09e1edee27 Add badges frontend endpoints that were previously added in puppet. 2013-08-05 19:11:05 +00:00
Patrick Uiterwijk
6419178dc5 Allow sysadmin-gallery to access 2013-08-05 19:08:13 +00:00
Ricky Elrod
6958b5348c update keypair in temp playbooks 2013-08-02 22:56:46 +00:00
Ralph Bean
176a9fef98 Comment out this httpd alias. 2013-08-02 18:29:47 +00:00
Ralph Bean
a2665f6a7b Remove the badges path prefix from the httpd conf. 2013-08-02 18:19:18 +00:00
Ralph Bean
6c5ff7c3c1 No more badges path prefix. 2013-08-02 17:49:35 +00:00
Kevin Fenzi
ed0cee0b49 Bump mem and cpus 2013-08-01 21:54:26 +00:00
Ralph Bean
b5e7ac9542 Disallow changing nicknames in our tahrir instance. 2013-08-01 20:47:41 +00:00
Kevin Fenzi
316fc28268 Do the right actual instance 2013-08-01 20:33:50 +00:00
Kevin Fenzi
b54ed736b7 Switch this to the new keypair 2013-08-01 20:32:21 +00:00
Ralph Bean
9ee550e60d More openid tweaks. 2013-08-01 17:43:16 +00:00
Ralph Bean
1df977ea0c Hotfix for badges/velruse/openid.
https://fedorahosted.org/fedora-infrastructure/ticket/3915
2013-08-01 15:52:26 +00:00
Ralph Bean
fb87fa8df3 Whoops! 2013-08-01 14:36:21 +00:00
Ralph Bean
f9f1cf68fa Force fedmsg-hub to pick up the latest sqlalchemy. 2013-08-01 14:31:35 +00:00
Ralph Bean
0c3657430c Add the internal ip of the proxies to /etc/hosts for the badges frontend nodes. Openid. Fingers crossed. 2013-07-31 15:10:35 +00:00
Ralph Bean
25ae7b9441 Or.. is it this? 2013-07-31 14:46:38 +00:00
Ralph Bean
b3d0c6a4d1 Ah HA! Thats why openid was failing. 2013-07-31 14:14:18 +00:00
Ralph Bean
29b9a29557 Revert that. "when" is behaving weirdly. 2013-07-30 20:31:59 +00:00
Ralph Bean
35f4de528a Got that wrong. Is this right? 2013-07-30 20:17:42 +00:00
Ralph Bean
1c4b0cf05d Apparently this is more modern syntax. 2013-07-30 19:22:00 +00:00
Ralph Bean
10f5c093e1 Don't include the openvpn_client task for staging. 2013-07-30 19:08:50 +00:00
Ralph Bean
da4ef0387d Add infra.fp.o back to the hosts files for those badges nodes. 2013-07-30 18:35:29 +00:00
Ralph Bean
c51231910b Add openvpn_client to the badges web nodes. 2013-07-30 18:28:14 +00:00
Ralph Bean
efbe990221 Add hosts files for the new badges nodes. 2013-07-30 16:44:46 +00:00
Ralph Bean
249dac5b01 Get the right volgroup for virthost01. 2013-07-30 15:02:22 +00:00
Ralph Bean
2435436296 Break the config-distribution play out into two.
This is necessary because of how "roles" preceed "loose tasks".
One role here rolls out some fedmsg certs and sets their group
to "sysadmin".. but since roles run before tasks fasClient has
never actually been run so the "sysadmin" group doesn't exist yet.
We need to ensure that those fasclient basic setup tasks get run
first (the first time) before the service-specific stuff gets run.

Another way to do this would be to make the "generic config" stuff
into a role that gets included in every playbook like this one.  We
put it first and it will get run before the other roles.  We should
consider that after some discussion.
2013-07-30 14:53:17 +00:00
Ralph Bean
0192fa6d32 Use a volgroup that actually exists for the badges nodes. 2013-07-30 14:32:00 +00:00
Ralph Bean
5425ba5f11 Host vars for badges nodes. 2013-07-30 14:25:24 +00:00
Ralph Bean
35ab4759e1 Some enhancements, simplifications to that vhost script. 2013-07-30 02:00:21 +00:00
Ralph Bean
3e43c3f30a Hopefully correct my cpu math. 2013-07-30 01:41:14 +00:00
Ralph Bean
ae85cbcaed Make the vhost script report free cpus too. 2013-07-30 01:41:13 +00:00
Ralph Bean
a50eacb027 Use a nice default for the vhost script. 2013-07-30 01:41:13 +00:00
Ricky Elrod
d9e9338ad3 Revert "try quoting things with vars in them so they interpolate?"
This reverts commit 357208852e.
2013-07-29 19:58:20 +00:00
Ricky Elrod
357208852e try quoting things with vars in them so they interpolate? 2013-07-29 19:55:54 +00:00
Ralph Bean
9eca22715c Give some fedora dummy fas credentials to the badges backend. 2013-07-29 15:01:13 +00:00
Dennis Gilmore
b193c9c035 install mock configs for arm composes 2013-07-29 01:17:09 +00:00
Dennis Gilmore
0357ba87ad disable package state plugin on the builders 2013-07-29 00:57:59 +00:00
Kevin Fenzi
abd27d1acf Start rdiff-backup on lockbox01 content 2013-07-28 00:38:54 +00:00
Kevin Fenzi
12f4135e41 ppc11/12 are gone 2013-07-25 21:53:35 +00:00
Dennis Gilmore
fde8999fad allow udp traffic from builders to storage 2013-07-25 21:39:24 +00:00
Kevin Fenzi
f1c5e4cafd Fix default route 2013-07-24 22:32:18 +00:00
Kevin Fenzi
fd9294890b Add taskbot01.qa instance for qa folks. 2013-07-24 22:15:22 +00:00
Kevin Fenzi
5cf6b38f94 Try and actually run it. 2013-07-23 18:00:18 +00:00
Kevin Fenzi
c398ba988e Kill async for now. 2013-07-23 17:56:37 +00:00
Kevin Fenzi
25916e41bd Serial needs to be on the playbook, not the task 2013-07-23 17:43:52 +00:00
Kevin Fenzi
7e377baeb5 Fix url 2013-07-23 17:40:46 +00:00
Kevin Fenzi
a16c119073 Add git/ansible and make script 755 2013-07-23 17:37:16 +00:00
Kevin Fenzi
051e78fc3d Give up on cron module 2013-07-23 17:34:31 +00:00
Kevin Fenzi
3a6e37eb87 And a user too 2013-07-23 17:30:52 +00:00
Kevin Fenzi
a2d892a18b Need a name 2013-07-23 17:29:18 +00:00
Kevin Fenzi
de351bea39 Very first cut at using ansible to run rdiff backups on backup03 2013-07-23 17:26:34 +00:00
Kevin Fenzi
5ae82572f1 Fix iptables ports on backup03 2013-07-23 15:21:49 +00:00
Kevin Fenzi
5ddb61526c Drop old vars and add rdiff-backup 2013-07-22 21:41:44 +00:00
Kevin Fenzi
9f3e55494b Give up and just look at removing logwatch in kickstart 2013-07-22 21:38:25 +00:00
Kevin Fenzi
5ab2ae9c3f Ok, lets try this. 2013-07-22 19:49:57 +00:00
Kevin Fenzi
96e6c2b19e Lets try this to override the logwatch removal. 2013-07-22 19:41:54 +00:00
Kevin Fenzi
018c11b660 Add some adjustments for backup03 2013-07-22 19:36:29 +00:00
Kevin Fenzi
7526696150 Less mail in the world. ;( 2013-07-22 16:18:49 +00:00
740 changed files with 31865 additions and 4697 deletions

1
.gitignore vendored
View File

@@ -1 +1,2 @@
*.swp
*.pyc

112
CONVENTIONS Normal file
View File

@@ -0,0 +1,112 @@
This file describes some conventions we are going to try and use
to keep things organized and everyone on the same page.
If you find you need to diverge from this document for something,
please discuss it on the infrastructure list and see if we can
adjust this document for that use case.
Playbook naming
===============
The top level playbooks directory should contain:
* Playbooks that are generic and used by serveral groups/hosts playbooks
* Playbooks used for utility purposes from command line
* Groups and Hosts subdirs.
Generic playbooks are included in other playbooks and perform
basic setup that is used by other groups/hosts.
Examples: cloud setup, collectd, webserver, iptables, etc
Utility playbooks are used by sysadmins command line to perform some
specific function. Examples: host update, vhost update, vhost reboot.
The playbooks/groups/ directory should contain one playbook per
group. This should be used in the case of multiple machines/instances
in a group. MUST include a hosts entry that describes the hosts in the group.
Examples: packages, proxy, unbound, virthost, etc.
Try and be descriptive with the name here.
The playbooks/hosts/ directory should contain one playbook per 'host'
for when a role is handled by only one host. Hosts playbooks
MUST be FQDN.yml, MUST contain Hosts: the host or ip.
Examples: persistent cloud images, special hosts.
Where possible groups should be used. Hosts playbooks should only
be used in specific cases where a generic group playbook would not work.
Both groups and hosts playbooks should always include:
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private}}/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
Play naming
===========
Plays in playbooks should be a short readable description of what the play
is doing. This will be displayed to the user and/or mailed out, so think
about what you would like to see if the play you are writing failed that
would be descriptive to the reader to help fix it.
Inventory
=========
The inventory file should add all hosts to one (or more) groups.
When there are staging hosts for a role/service, they should be in the
main group for that role as well as a staging for the role.
FIXME: will depend on how we do staging. (see below)
Tags
====
Tags allow you to run just a subset of plays with a specific tag(s).
We have some standard tags we should use on all plays:
packages - this play installs or removes packages.
config - this play installs config files.
check - we could use this tag to include 'is everything running that should be'
type tasks.
FIXME: others?
Production vs Staging vs Development
====================================
In the default state, we should strive to have production and staging using
the same exact playbooks. development can also do so, or just be a more
minimal free form for the developer.
When needing to make changes to test in staging the following process should
be used:
FIXME... :)
Requirements:
1. shouldn't touch prod playbook by default
2. should be easy to merge changes back to prod
3. should not require people to remember to do a bunch of steps.
4. should be easy to see exactly what changes are pending only in stg.
Cron job/automatic execution
============================
We would like to get ansible running over hosts in an automated way.
A git hook could do this.
* On commit:
If we have a way to detemine exactly what hosts are affected by a
change we could simply run only on those hosts.
We might want a short delay (10m) to allow someone to see a problem
or others to note one from the commit.
* Once a day: (more often? less often?)
We may want to re-run on all hosts once a day and yell loudly
if anything changed.
FIXME: perhaps we want a tag of items to run at this time?
FIXME: alternately we could have a util playbook that runs a
bunch of checks for us?

37
README
View File

@@ -1,9 +1,15 @@
ansible repository/structure
== ansible repository/structure ==
files - files and templates for use in playbooks/tasks
- subdirs for specific tasks/dirs highly recommended
inventory - where the inventory and additional vars is stored
- All files in this directory in ini format
- added together for total inventory
group_vars:
- per group variables set here in a file per group
host_vars:
- per host variables set here in a file per host
library - library of custom local ansible modules
@@ -11,6 +17,10 @@ playbooks - collections of plays we want to run on systems
tasks - snippets of tasks that should be included in plays
roles - specific roles to be use in playbooks.
Each role has it's own files/templates/vars
== Paths ==
public path for everything is:
@@ -20,12 +30,11 @@ private path - which is sysadmin-main accessible only is:
/srv/private/ansible
In general to run any ansible playbook you will want to run:
sudo -i ansible-playbook /path/to/playbook.yml
== Cloud information ==
cloud instances:
to startup a new cloud instance and configure for basic server use run (as
@@ -61,9 +70,6 @@ define these with:
--extra-vars="varname=value varname1=value varname2=value"
Name Memory_MB Disk VCPUs
m1.tiny 512 0 1
m1.small 2048 20 1
@@ -124,7 +130,7 @@ description: some description so someone else can know what this is
The available images can be found by running::
source /srv/private/ansible/files/openstack/persistent-admin/ec2rc.sh
euca-describe-images | grep emi
euca-describe-images | grep ami
4. setup a host playbook ansible/playbooks/hosts/$YOUR_HOSTNAME_HERE.yml
Note: the name of this file doesn't really matter but it should normally
@@ -137,10 +143,10 @@ The available images can be found by running::
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- ${private}/vars.yml
- "{{ private }}/vars.yml"
tasks:
- include: $tasks/persistent_cloud.yml
- include: "{{ tasks }}/persistent_cloud.yml"
- name: provision instance
hosts: $YOUR_HOSTNAME/IP HERE
@@ -149,15 +155,15 @@ The available images can be found by running::
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- ${private}/vars.yml
- ${vars}/${ansible_distribution}.yml
- "{{ private }}/vars.yml"
- /srv/web/infra/ansible/vars//{{ ansible_distribution }}.yml
tasks:
- include: $tasks/cloud_setup_basic.yml
- include: "{{ tasks }}/cloud_setup_basic.yml
# fill in other actions/includes/etc here
handlers:
- include: $handlers/restart_services.yml
- include: "{{ handlers }}/restart_services.yml
5. add/commit the above to the git repo and push your changes
@@ -171,10 +177,6 @@ The available images can be found by running::
You should be able to run that playbook over and over again safely, it will
only setup/create a new instance if the ip is not up/responding.
SECURITY GROUPS
- to edit security groups you must either have your own cloud account or
be a member of sysadmin-main
@@ -212,6 +214,7 @@ euca-create-group -d "group description here" groupname
To add a rule to a group:
euca-authorize -P tcp -p 22 groupname
euca-authorize -P icmp -t -1:-1 groupname
To delete a rule from a group:
euca-revoke -P tcp -p 22 groupname

View File

@@ -0,0 +1,86 @@
# (C) 2012, Michael DeHaan, <michael.dehaan@gmail.com>
# based on the log_plays example
# skvidal@fedoraproject.org
# rbean@redhat.com
# Ansible is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Ansible is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
import os
import pwd
import fedmsg
import fedmsg.config
def getlogin():
try:
user = os.getlogin()
except OSError, e:
user = pwd.getpwuid(os.geteuid())[0]
return user
class CallbackModule(object):
""" Publish playbook starts and stops to fedmsg. """
playbook = None
def __init__(self):
config = fedmsg.config.load_config()
config.update(dict(
name='relay_inbound',
cert_prefix='shell',
active=True,
))
fedmsg.init(**config)
def playbook_on_play_start(self, pattern):
# This gets called once for each play.. but we just issue a message once
# for the first one. One per "playbook"
play = getattr(self, 'play', None)
if play:
# figure out where the playbook FILE is
path = os.path.abspath(play.playbook.filename)
# Bail out early without publishing if we're in --check mode
if play.playbook.check:
return
if not self.playbook:
fedmsg.publish(
modname="ansible", topic="playbook.start",
msg=dict(
playbook=path,
userid=getlogin(),
extra_vars=play.playbook.extra_vars,
inventory=play.playbook.inventory.host_list,
playbook_checksum=play.playbook.check,
check=play.playbook.check,
),
)
self.playbook = path
def playbook_on_stats(self, stats):
if not self.playbook:
return
results = dict([(h, stats.summarize(h)) for h in stats.processed])
fedmsg.publish(
modname="ansible", topic="playbook.complete",
msg=dict(
playbook=self.playbook,
userid=getlogin(),
results=results,
),
)

View File

@@ -50,24 +50,24 @@ class LogMech(object):
raise
# checksum of full playbook?
@property
def playbook_id(self):
if self._pb_fn:
return os.path.basename(self._pb_fn).replace('.yml', '').replace('.yaml', '')
else:
return "ansible-cmd"
@playbook_id.setter
def playbook_id(self, value):
self._pb_fn = value
@property
def logpath_play(self):
# this is all to get our path to look nice ish
tstamp = time.strftime('%Y/%m/%d/%H.%M.%S', time.localtime(self.started))
path = os.path.normpath(self.logpath + '/' + self.playbook_id + '/' + tstamp + '/')
if not os.path.exists(path):
try:
os.makedirs(path)
@@ -76,13 +76,13 @@ class LogMech(object):
raise
return path
def play_log(self, content):
# record out playbook.log
# include path to playbook, checksums, user running playbook
# any args we can get back from the invocation
fd = open(self.logpath_play + '/' + 'playbook-' + self.pid + '.info', 'a')
fd.write('%s\n' % content)
fd.write('%s\n' % content)
fd.close()
def task_to_json(self, task):
@@ -92,25 +92,25 @@ class LogMech(object):
res['task_args'] = task.module_args
if self.playbook_id == 'ansible-cmd':
res['task_userid'] = getlogin()
for k in ("delegate_to", "environment", "first_available_file",
"local_action", "notified_by", "notify", "only_if",
"register", "sudo", "sudo_user", "tags",
for k in ("delegate_to", "environment", "first_available_file",
"local_action", "notified_by", "notify",
"register", "sudo", "sudo_user", "tags",
"transport", "when"):
v = getattr(task, k, None)
if v:
res['task_' + k] = v
return res
def log(self, host, category, data, task=None, count=0):
if not host:
host = 'HOSTMISSING'
if type(data) == dict:
name = data.get('module_name',None)
else:
name = "unknown"
# we're in setup - move the invocation info up one level
if 'invocation' in data:
@@ -126,21 +126,23 @@ class LogMech(object):
data['task_start'] = self._last_task_start
data['task_end'] = time.time()
data.update(self.task_to_json(task))
if 'task_userid' not in data:
data['task_userid'] = getlogin()
if category == 'OK' and data.get('changed', False):
category = 'CHANGED'
if self.play_info.get('check', False):
if self.play_info.get('check', False) and self.play_info.get('diff', False):
category = 'CHECK_DIFF:' + category
elif self.play_info.get('check', False):
category = 'CHECK:' + category
fd = open(self.logpath_play + '/' + host + '.log', 'a')
now = time.strftime(TIME_FORMAT, time.localtime())
fd.write(MSG_FORMAT % dict(now=now, name=name, count=count, category=category, data=json.dumps(data)))
fd.close()
logmech = LogMech()
@@ -238,7 +240,7 @@ class CallbackModule(object):
def playbook_on_play_start(self, pattern):
self._task_count = 0
play = getattr(self, 'play', None)
if play:
# figure out where the playbook FILE is
@@ -258,27 +260,29 @@ class CallbackModule(object):
pb_info['inventory'] = play.playbook.inventory.host_list
pb_info['playbook_checksum'] = utils.md5(path)
pb_info['check'] = play.playbook.check
pb_info['diff'] = play.playbook.diff
logmech.play_log(json.dumps(pb_info, indent=4))
self._play_count += 1
# then write per-play info that doesn't duplcate the playbook info
self._play_count += 1
# then write per-play info that doesn't duplcate the playbook info
info = {}
info['play'] = play.name
info['hosts'] = play.hosts
info['transport'] = play.transport
info['number'] = self._play_count
info['check'] = play.playbook.check
info['diff'] = play.playbook.diff
logmech.play_info = info
logmech.play_log(json.dumps(info, indent=4))
def playbook_on_stats(self, stats):
results = {}
results = {}
for host in stats.processed.keys():
results[host] = stats.summarize(host)
logmech.log(host, 'STATS', results[host])
logmech.play_log(json.dumps({'stats': results}, indent=4))
logmech.play_log(json.dumps({'playbook_end': time.time()}, indent=4))
print 'logs written to: %s' % logmech.logpath_play

File diff suppressed because it is too large Load Diff

View File

@@ -1,45 +0,0 @@
#
# Default Bacula File Daemon Configuration file
#
# For Bacula release 2.0.3 (06 March 2007) -- redhat (Zod)
#
# There is not much to change here except perhaps the
# File daemon Name to
#
#
# List Directors who are permitted to contact this File daemon
#
Director {
Name = bacula-dir
Password = "{{ bacula5PasswordDir }}"
}
#
# Restricted Director, used by tray-monitor to get the
# status of the file daemon
#
Director {
Name = bacula-mon
Password = "{{ bacula5PasswordDir }}"
Monitor = yes
}
#
# "Global" File daemon configuration specifications
#
FileDaemon { # this is me
Name = bacula-fd
FDport = 9102 # where we listen for the director
WorkingDirectory = /var/spool/bacula
Pid Directory = /var/run
Maximum Concurrent Jobs = 10
Heartbeat Interval = 10
#Maximum Network Buffer Size = 131072
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = bacula-dir = all, !skipped, !restored
}

View File

@@ -1,104 +0,0 @@
#
# Default Bacula Storage Daemon Configuration file
#
# For Bacula release 2.0.3 (06 March 2007) -- redhat (Zod)
#
# You may need to change the name of your tape drive
# on the "Archive Device" directive in the Device
# resource. If you change the Name and/or the
# "Media Type" in the Device resource, please ensure
# that dird.conf has corresponding changes.
#
Storage { # definition of myself
Name = bacula-sd
SDPort = 9103 # Director's port
WorkingDirectory = "/var/spool/bacula"
Pid Directory = "/var/run"
Maximum Concurrent Jobs = 10
Heartbeat Interval = 5
}
#
# List Directors who are permitted to contact Storage daemon
#
Director {
Name = bacula-dir
Password = "{{ bacula5PasswordDir }}"
}
#
# Restricted Director, used by tray-monitor to get the
# status of the storage daemon
#
Director {
Name = bacula-mon
Password = "{{ bacula5PasswordDir }}"
Monitor = yes
}
#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
# same Name and MediaType.
#
Device {
Name = FileStorage
Media Type = File
Archive Device = /bacula/
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Device {
Name = FileStorage2
Media Type = File
Archive Device = /bacula2/
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
#
# An autochanger device with two drives
Autochanger {
Name = Autochanger
Device = Drive-1
Changer Command = "/usr/libexec/bacula/mtx-changer %c %o %S %a %d"
Changer Device = /dev/sg1
}
Device {
Name = Drive-1 #
Drive Index = 0
Media Type = LTO-5
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
AutoChanger = yes
SpoolDirectory = /bacula/bacula/spool/;
Maximum Spool Size = 1600G;
# Label Media = yes
# Enable the Alert command only if you have the mtx package loaded
Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
# If you have smartctl, enable this, it has more info than tapeinfo
Alert Command = "sh -c 'smartctl -H -l error %c'"
}
#
# Send all messages to the Director,
# mount messages also are sent to the email address
#
Messages {
Name = Standard
director = bacula-dir = all
}

View File

@@ -1,10 +0,0 @@
#
# Bacula User Agent (or Console) Configuration File
#
Director {
Name = bacula-dir
DIRport = 9101
address = localhost
Password = "{{ bacula5PasswordCon }}"
}

View File

@@ -1,5 +0,0 @@
#!/bin/sh
#
# This script deletes a catalog dump
#
rm -f /bacula/bacula.sql

View File

@@ -1,3 +0,0 @@
#!/bin/sh
rm -f /bacula/bacula.sql
/usr/bin/mysqldump -u bacula -f bacula > /bacula/bacula.sql

View File

@@ -0,0 +1,26 @@
[updates-testing]
name=Fedora $releasever - $basearch - Test Updates
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/$basearch/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
[updates-testing-debuginfo]
name=Fedora $releasever - $basearch - Test Updates Debug
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/$basearch/debug/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
[updates-testing-source]
name=Fedora $releasever - Test Updates Source
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/SRPMS/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch

View File

@@ -0,0 +1,26 @@
[updates-testing]
name=Fedora $releasever - $basearch - Test Updates
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/updates/testing/$releasever/$basearch/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[updates-testing-debuginfo]
name=Fedora $releasever - $basearch - Test Updates Debug
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/updates/testing/$releasever/$basearch/debug/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[updates-testing-source]
name=Fedora $releasever - Test Updates Source
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/updates/testing/$releasever/SRPMS/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

View File

@@ -0,0 +1,26 @@
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch

View File

@@ -0,0 +1,26 @@
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/updates/$releasever/$basearch/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/updates/$releasever/$basearch/debug/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/updates/$releasever/SRPMS/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

29
files/common/fedora.repo Normal file
View File

@@ -0,0 +1,29 @@
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch
[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$releasever-$basearch

View File

@@ -0,0 +1,29 @@
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/releases/$releasever/Everything/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/releases/$releasever/Everything/$basearch/debug/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/releases/$releasever/Everything/source/SRPMS/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

View File

@@ -1,42 +1,17 @@
#ausil
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAD9QDskl41P2f4wqBuDBRD3VJ7MfKD6gMetMEaOy2b/CzfxN1vzeoxEvUxefi4+uh5b5ht5+BhQVhvBV7sTxxYftEH+B7IRmWigqcS1Ndnw+ML6zCbSTCJOqDvTLxmkZic0NUBIBP907ztMCoZjaOW9SSCrdA9Vp87V3x/KEQaeSNntmnFqtnpQI/N0NlmqxB78p97W/QDpLuftqJ33sM0uyvxXSusThLSFBHjisezsWox49nEKY8HW+Kwkmw+k7EF4tsDWymPB+S0gMsMlTxzjutNASVDmn6H+lgkzns+5Xxii4/mZWrcjqfLuH7vCI2mWykZJ6ek0LiQea9tNN+KZomqX6NbTUK3riaDPrZPNexa4I83Fp+DYNmYgnGMInqn+cZ5PoUJ3u3LaqZGBQeuuONTw0yQ8Pkkn5xibpPO6qblHKcet0pfmWQ5ab+5BDrsyLcPXolMci5h45GNWebr7UMuXT6+q+EolnYgbgDzzGJ4xPohF04OW8CwflK64KEnYcqlGs+DF4TNgGFlhKiyCWfXSjizmQusxn17ayi6+yrkiGeqfz72qyZ1pSKlwA8XRYC2VkAAquJP6zAtAKjCUdmRTSyYgCpoIAlMwBO07BiPLLov6lKdphZYY1DI7pTXA98fhVU04PDqJJYR1GKkttmCsjbRWnxjkPl/Zka1+ei3k9DNidT6j4hFj+uTj8SS70qZUtKLNpc5IcedHaGEK0vcXJm9lIEKBIEnN0PCLZCa4kQZnfdsbuep1fbXNf4WYPXea29aRKJc4hiqsdrccTp4KueHgWt1Jj6CZDZcFgX+NlUVWwk6djgjRzHUryExtsjCcgGMPRJWdUnVcpgkQ1qJhEXng3W+nFFboArWfwU8u1pXEdeE1Z+m+ows3nJHdEgQevyy/cUx6BPNPZkBh10MWskSV8Z+vb02vJB+QikRMwQs3Ywf6RMaZFrBkWD4FfUaU24f4wgtPQN7j5xxJ2rWLJ/s9ZOWSl9yrytC6ZUQwmayLmiPUdm4u/7ZZmaly39K1YWqFDl3eUrRAZwf1L/NAqFu/qcQQ3Xf20K0nI55nVbZ8ODyx6BtfwoioblnTEcehK0uud5Vamc5mfpErFY0agEecsc0sMZO+ky9pf/gCUdM7je7kMDI2hdx61fOa8Wypb5u9WNBWKRKx8xT1XUKhb2uFumm3sR1iNm1Qhj92mo/NO2aETOA1lsYSL0XK571Yy0iFK3X1nOqp/gCsEGLI8OPQk6XuFqv8hmfiIXNKV8IwuDStw7eIvuQIgT7bmMkj+1Ca25foSmg3w5FqJux1gO9t5F018LeQZ6LVlYHZaQnaN+eTU7KfoCozhWw1H9pprDz Dennis Gilmore
#codeblock
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAACAEAstHxky7hl1inyHBy+q/9M+Aen2HSfy8IoW+sAO6HSuHEUT7qWB8AlSNjHhahjXx7sy/BUkUed+NB/177rjlThokZDJ0yoM9KKymp26ETGaamBSkWBxZatTj96BWfD0P2K9jc/9vxtgKBq3VK9UaOt6VtJ9q6mKY3DdWLZn+K6iGQAKMCAgd8cCMgD6epBB5/litz7WhYv+aYTyjZGUGbBojQUiWgXDv9lR7p0w+VP7pnZEeb3//k4pZhsPrKFwwRVRLxBvWgVKNvA6nMXmsdikHCLLj8YAevhEY1xAba+iCKOpTqT7Bu+1Fnb9St8u5iDod21gRmN7MGGWYsO+Iu2MNAW9sw2nsA/sdNR0HEEgBqJLhERjGv399fWKyiZaF90n59lg8Pb6EzE6wHRs6rSB+9uKApBzPk99BEHLvC6mhn6RjrOC+TWSTcmXojAwQYCadqIdgWUaBsxaugKEXBFcmRuDWtpDfsqmM1kjeGU6MiaMlqPW0KjsMaVVChLO5ZvB/T7qW4wr5ZjLri475MuHocCMP0ECSUk7I3YW2h8RU6FEFmTpuULFRQo01iPreY5XJ7l0+xy2eggAWo+X2h3nGjXhCPOelBg+LYe0WOmPgB5oc1m5HZtFTcFzYbhAE+xQKlbwNeYT8HmNmEMhPjVoNyOOV7NAap+ueS2u/7li5D59O5Iy8aa5n/WiuYfkqH4pG796nFyLr5L/LVudzyaYFb/Gk8C1j/NAWYw53D/9aOA277HHe5t0/daJhbo98u0asF5mvPld3swPuPqkEZzgUfmNgH5CkvcQcMzaOvj6qr6xNmQfgsHroCShb46kplQ2uSf1pMAqsjN7jGhk6l+Bu6hKHnJKhZJVLiuAZtgYvkCB1ahaO3wRVozA1VKCAlqHOqoCq4YLIobUL95H08Kwcz7vIRIadX1TkOoLb2EwPkE/xrhDp4BySh+j6YNklSBkiRHvJMBNnRIj8NTRjYyj2o1Om7kJ770lEdryg2og8QBaFWCmFkwzg1QVrBOuu0dN7kt2l7VI7Ib4lavKSVTrqUdxdSbthUlu/b4Qif+pbyEtUFgykRsHVs+5Ofg7FZpsgCJ8rLFjzeVF/hAYX7t3XaIPLu+DL8kzamb/CRy1b7+iAw9nJbd7ED2SGyU6+c2coMPG23y6+YxgEmNG/rkCLCypkEEDOZe4DuMerZQ/RxMo06+glC6HC/3VN2dHlVLtEEV33B04/6Z0plAhqtjG7PVs08f8a5msV/VYn5ifa4z0oIXX1r5CIg3Ejp1JguLhBHpWa7YbS2Mwu6GAbD+hQfCYrsUkFonoOLu5czpITLo7ceJFTQmAt7OxZEoZBfmtYfzADQsQVYQb6J4QwvM3iKJOn30dgtYnJOVlDZEn+0fivedxoBAt9jHJ8lVp2ov/dOFnimi5V+2QIMB0fKTkChsk10zsDZ/KUk6zfijjEju0WfjRHCd357KswNv3aXHazfRIw77S2UOenD+xmUDZ6WgnxservUSDNDz7NldLf/gdPOMO4uSwKZixzsoCNioeLEmQv4gomNK7DyZBLMHLlWlbliqP+QWuIJO1rfoH2vaxzzA7l5tJW1gfnxm87RrrwIf9v5kpdJM6gQZxqmBCRsKQd5VkrEJ/xaFfkv080pWNV0drWTZW8fAAgfUNYB260Hyk3rHsjQlVtQxGJ1aAcgjMi3eGKQMwptbUMYHqct75czX6xp6zgXPiC/glX6AtuiZQ5bOI07imil20ien/ks/dnel8L+dmYDasL9m0B2jZ3lbl3eR1Dy7UhqGyERx//vYQapEBuwFcqQ9UdIWCGGG2Pte1I39BSehUUGSCOOD38a/GCu0l7OWZKdwq80MK/Ixgz4neiZQZ7MD2wPy6vk6Num18PZPN7OynMrI2UG5MViQ0GAhRgxwbUCvc7uKnGRqZo9q2mCabCxLbv+hJ4bppxpHHJxMDDXilTKMfZb0YRbvjBUi7LFKLN3MBMK2U1jHE+PjBgweqF8Jtuw04CQMxK3unajZOVkYAIq8IdMbw0oBVP4++eGB9z0x1eH+IsqL6IgknbbyoMgQqW9/8atm8HW2QYCX47oPd4FHs8rgJZk3bz8MwN3tp8WCRtYnJuwkWGWSq77ans0Ycl/tUfSSwUjnSvMsJnuSbxvdX0XbP5eRWikk0pJz5lM9sjYFOPHrQ44/U254yBa0N6UhyNTQnMGzRvY+fADE49b10hXZwCCrxpY9KvGr1XNJMnMcUke+4p9RS5LUwcZ8A6v7oWtZaZwnuBzvKk+HAn2gevD7Stjto+TnRCx1qcbx8iOhAEC6nvbLl+U313TmawrO/usrI5w3EFKP/4BnlKJDtNBeklJ0MpU3R1fmisqfegjuBW2bbaxq8Uo6m7uqPsYuAl7E6rOyZHLbtA8szvbQ46MSqAHezqxHJajWn2oZXMtbddgO5vlkxbRp3SSVKaPOeIj3XOGl78Owp4gFNRE0RY2EuUvrwUhXZR4wx1VHYjS6o9HAwOx3dH+pf1OiblUEanLQ9HLuOBkLhP8wn1M2slsSw+A1gyuI0ayjRujYFXdw6Mqp6XKTdU8vNue2c3d0I+TMifBypP0oJtxXmEoPp/VsU9yLKA2FF7Xvv/Xq1gtZcuZWAbSwMok/ENY1xeIFyjV+0yBidmax3jaf9yus/XEpyeBS3iIz63ymU10Kb2vrWjubg/sa2yd+q0y96dLdDRbnbwGwMmg6mXvTlVXf8c= ricky@padlock01.home.elrod.me
#jstanley
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDi5bNJQBrvT/YuvfLO0y6smZW5N+946uISkzmDi9myffLgHAZP4nBGeH/4GcB5ns9HJ19xVtbIwqOz4QwIqKh4gKU7DgaqND2Iu0bUUFL1KXPLGyAIW+9N3yHB+nKkH31alDnF4dpKkvO63DRkqh4ptxwEQbZDCFqn+vXuMnG4cPmDEweR3QZUt5m0Vc7HXzbehZxjUZ3xRWvT/pu+khBhJcRFkLlA60Fnqv7Q+MQP1C0Cpf3hiX1LcXUogXkNooAqx1YYRd8VqvI8e9yQW+a99x8FftnmXKlGCxP33ng6+U6Y2H7u3cRDrlRTbWqkry4SuUYo+6MtvZVgL0fw6PsZ jstanley@hawtness.rmrf.net
#kevin
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJH1lA7WHRCbaFtvzbw0HxHYJstZjuXhax1+eL+SUJ5fFRGosEc4fLrSCP0gSFDfXmNzuspoBgcQTqnNO8FdIUwkJLDEu0vTQls1aT9YUXb+RVwKB7ULA3b1dqFkmOgLEjTJL9AplK4OJ9Su0kq6QBV4mXCxMsgEML/gn6r8muZmu2L/LdzUnxKKggyq7O5q1K/eW5Yy21fpvbHt2UPQX1f6gt4ty7E9Nnuhi7SHCI7fNIa+kHyIesfTm/SzeK/PY9rDwZKjuyS8o22GJXGEScJomK1cjMESH/J+t8Hffaj88BjGHNczvcnXAjq6y73VJQ9DiGLD4zmFquQMxDu0Tf kevin@jelerak.scrye.com
#lmacken
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDefONrBaBJlCxKtDwkYWVhf96lMhRQfwVJyBoBd4Pk6TqKMlAu2eST1xRZlV4cJSxAWgZpOaFgqJ5EGd6mq8PvVk+mKXdtX7CAoWm4f3c6otUFsFDCTw3gVvYSlEk23XBHuACsbAVNL4HmP+9C7PxQBePukbMBFD2smsyQkPcX7lZw+lDJW5lOTz3dHAA92bcopDycxRDI99gGkawzjlmxpm2C9nhRabKS6mpGw3N64d8hwHkkFbtHY7rS0/0Cka0geYYYv0NVki1IIctkhZE9LndcWbVcVe1pIlR0RyW2sorfgCgoa5fRZZhukUCtspdv981h/0b87RpRVUJKuRd1 lmacken@tomservo
#mdomsch
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCsmLoA/97DrE7roCHOY7NdB5TV/g7oxAsk74HgHcFRYAbn/rkoa7r9ZsgR7qzwd6Z+5Z77qFqvl1Bs3XtJf+1vJ3kwdcNFdKTw1DgTdE/rNPI7QzUgXKKKv/WCiU6UDBX4HHWq8Yuq4tkr/yepS8sLzMz2e0pHU4uWFQuvr5ttP9ABGohhDnPr0IcaT5vm+uBTJItJBrhqGws2fnVxhWEm8Y96AZb2vFZVwiMdcKKqfVZby3/wTuEtaDbv0krQNtLJcjaOTWLHWnxJEvLWSdFgkuIDvoNKR7ZV2lsmh5UD/smStgf8TkORR59r63dp2kWAn0/Jl59ARsdXDXGCiduF3GamxglTUA+kYbkN/PBQbl6o+nNKy4Q5TI53WNmhpdsbEJWCjzT+V1ju5JejFEHIhnWyBoBUWB2NKxWaSlToI2B9E0iJ0HK68IlA7bO4X7SD8q5cZBVTKMByFxt9uQXFeZeG7QRCPIsg6bXsirnFn5028iz+RfVFe3Mavp18v1hObvH6SDTczQauuAhTwYOtphaPZj+iHbaKvKndvlOWdGoyrNxgcx+t4loyEEcEWD0Astdp0bZD39nag94PD7hnoENOC0oE6mbtyUuSCGrU6ogee8qxYAt0AP3Rq1LLaRWXqe/1rM5A9oaDNwNkWA/JWbJbZQf0vvWTZmTib3rfew== mdomsch@fedoraproject.org
#mmcgrath
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7U0WbKLL/D6iR03/vdDZJ8Lkj1jjAkindSvC4PkXVgi6qJo1YBZnIgsmoQopYcra2yzHFt58crygIh79P/rpQowWY99W+Sk4kB9UNuiAiX/LRi+1YdxwCKcRNTVOwuji6MGZoscACERmIjPY6P1oFPERoXhUkOuzPcrDK/0z/Bp9dpNRVZE/0zN6dvHA9QODLGvcFtgnX73SbZfoIbaVP/37IvOZvjGI1jxC5DwCmY+ihM13GpELP6BM8iihlnl1pjk1vtqPxD9g9Llr14Sc6cZJKl1WCulqhde4SEMOjpMJ8J8cGYBSsdh49hB36pdKQuTTnuCXpEt5Tl8PUKCrr mmcgrath@desktop.mmcgrath.net
#notting
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3eVd6Ccegp1r1mhm7tPnlGUcw0zsAbR2p9hrFZ7RKxdIponuVV9ix4lgwpNEVDs0j4vxAApeLpJrsV8R8+YLUZO3Mzi+2s8nM8LXrKHtJT9wKKqoU3O/lC79drbWk3EMgETyP61Zpjkub0hwG2MjviPee63zCuRbxzxyalzk+AtwkRSxYaS2Ha0uKxGDiq1c/Iu6HRgm8HrtW+Pr6QbSSoHLhGUpR0HkgoC6852xXGhrRMkzXXbD9L6vaK9F39YmzD7Z8yey+xDTFW529avkEIWDeqBpbae+HjKqEQaBx71/rcmXhqKYrEagzUGpS8Bwskp3JMksd/v9tMuUhGQ2XaooCeKzvM0KnVUk/Q031ZtjNYxLpy/rEqbyt18+8wYOvVoGgnRZ/yJ/UVwYbGJrttYrrQmaJv7b357bkgDJobkIki+zGzi1xkvb85JWEt0mfh38H2vCnpwQtSAIyF/hmrS+1xsD/oAoc83IUhsVYcDhLbBEVKMX2IsJLMAPwCE6GexRYyVE5vEN4PMV9A8VmGuIC3IzkPEbStdtlbP4ttNKtfwS+MrY+ceAABDixls6xpedgT1he44R+7C1p+w4uj4TnYReLVce6+KgfJ6mz8CTXVULLWM4l2H3PylEUyoHGRDpVanGAvm7h2D0HgxErWIkjZkL79GFhzQc1xjzixQ== notting@nostromo.devel.redhat.com
#ricky
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDDAeAohiRJ2v/RO7R9GS93TF92Gc9ixK6HM7wlbMdlZ4yYAbeoEX8VpeNaSTfo/Nw3zazr9VpmpHg+H70K8ljQsPgRwcgpetRVpF55M5FYjqM5oM+N94HV3nSGcnWbSIho1R31DaDH2ptxVqgh2m5DG7Bc45w9Bd4wjfdQ8nBrGv93tuH7X/cee4g6GvexLm5nXhAngdEmiyxw5MHuJAvj+54l4wMXRWpeF6XlI2iamW42nLSfRMCFkGNiXvBm8zkfkeH2L7I2cNKXXoP/cPCd3G/teIsI9FDqYpZ6CS0zMkWhlTuh7rlCjc9+nJsLdDLgwhb75skiUOOfimGvCCxWeHuCsSL+KpCu4AgI9UAVgO6xblDlmbQXxlGopep29U/s00W/0qv3Zp8Ks4Za0xHdoIwHiaLM0OYymFaNDd3ZqFG0FN23ZjcGqUmFGhGfUQRDt72+e9HtXlBJ0mUaCX9+e4wFGTVciG1/5CKsLHCaLRf+knsWXrv2zcv9BoZ9SCAK32zCZw05wjcmr7jYDCTLmtC6kEBNaOeE9Qqi2oomo4ji8ybg+Qq+1BwOtJKExvmZaooBZud0qd24HmCU0/0ysw732jGcqexzxsCR0VArd+7LKexOD7KwMW0VUss6fdOWac9gwCLx9FaKYh8mVvcQjKhKGI3aO2sXRUWSbBJw8w== ricky@alpha.rzhou.org
#skvidal
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDjlnCEiFMrKpkiIBjs5IW1+RXDald3aKvTszj0hUw9Gl6w3vt3RAiqTD/XRKcNdP0+pVIK/I4KexKfZzemNZ8UYmZ+a9EK+Gj7OQbJv7TQDeR0zyJ8ZgFXaWoN+CnWXLO2mp9poysUR6CILjaDJt4GDxJaD+bebRu+zxUQSlgrjObhIUTSfwsEJu++zK+fy4+xSEMG7SANEJHd+zOAw6+isLnnbp8qY2fs3reKpc8XPkyJscLU4BQV2cGXwlPUhzPVv/itUUV/uWHeAqoz2i5XG4C0/BXk6D85qkGIyE08Nl3COxn6giivrdTIH6W4dUtBdYgTMZ3RgMHL9ClLpS17 skvidal@opus
#smooge
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAxnzCHH11nDM1m7yvqo6Uanq5vcZjBcs/mr3LccxwJ59ENzSXwUgEQy/P8vby9VKMwsskoaqZcvJdOSZBFhNV970NTPb69OIXPQAl/xhaLwiJOn606fB+/S8WepeuntS0qLiebbEiA9vIQLteZ+bWl1s/didD/sFo3/wItoTGA4GuShUu1AyWJx5Ue7Y34rwGR+kIvDoy2GHUcunn2PjGt4r3v2vpiR8GuK0JRupJAGYbYCiMBDRMkR0cgEyHW6+QQNqMlA6nRJjp94PcUMKaZK6Tc+6h5v8kLLtzuZ6ZupwMMC4X8sh85YcxqoW9DynrvO28pzaMNBHm7qr9LeY9PIhXscSa35GAcGZ7UwPK4aJAAuIzCf8BzazyvUM3Ye7GPCXHxUwY0kdXk+MHMVKFzZDChNp/ovgdhxNrw9Xzcs4yw7XYambN9Bk567cI6/tWcPuYLYD4ZJQP0qSXVzVgFEPss1lDcgd0k4if+pINyxM8eVFZVAqU+BMeDC+6W8HUUPgv6LiyTWs+xTXTuORwBTSF1pOqWB4LjqsCGIiMAc6n/xdALBGUN7qsuKDU6Q7bwPppaxypi4KCvuJsqW+8sDtMUaZ34I5Zo1q7cu03wqnOljUGoAY6IDn3J66F2KlPPyb/q3PDV3WbY/jnH16L29/xUA73nFUW1p+WXutwmSU= ssmoogen@ponyo.int.smoogespace.com
#spot
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFZ3AD/I0OfU84IrK573amZptucuBrDxHoue/c+PUsD3MGIA6QXRceq3ZkLuz25OAAu53hFxzCE4d6eVS299rVR8Cd+tVU8aqBdTHzdqv52Vs8zRfXMW69sV7fhwRLaQDcRTwY90Wmz2MbZmN996XmJDNtUIWI2mML+PBYEdO0PyiB2ttb7mmA3SwtC/rwEMJL2YHh+bTzlJ9W4BgFcFwizMXU3mk5uGp2/q3nKzEvgTROM8yWvqdM34cRYpjFKyOlpo6k3SPt76hgDUEIsAu6Ul1S0FHTCRMIihcxZOSN4frMtXVjX0NhW9mKcn1IRBpzd0Yon/gPB8OJ31ojIIop spot@pterodactyl
#toshio
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAEAQDfgKJEBuHFlFc8/IHDeIpdprNnAFQHkicXAFfAzIJSkhUaOJFjsulmgPZn2TJJpYqFAxYUjhWJOdrOwx7AHSg6gWu4TT4a0sTay+Z0eqZOShf5UL/M587DxJk1JZU8g812yDKZMc7Sv7K6zdteONnCvno1kALSg0F2MVMJXFjE/tSontkIRH6IuG19R19NGEj1h56uGwdfe78xjOmv5wk6RZBjaOKqiPSQKNqCKbY9Kyz6yrem2M5uxRK45u3wSPJdmopo8l/nwf0p6ydrUSL5C/aXGh7LPqh31eTBDQUbWHw9LQMk1SibMGQPwJt59lLMlzc5OQZAJEbadsDAgl6VVA6MZkBQROiK9E087kvPesMoGWE0KBgvTqzpBZj0uHATP9i097dv80gjupMyaePsnQOxk0wRho9nRkxRo18Drt3QPVND4YGHzahMe/YR2N83MkbnGoP8K+GsFhLMAp3NKh6yUofFxTgRiB6H8ULKf3CV+hlk0Z9RJR3CpgMTKILYHPlaleJqoP6sXg6tJxI0rUE+0jUKvaTj+N2gX0MjKfUINk5mTbjD2mdVrPtKOBvos2luNhY5nTDpJuAHQqnFHPlPw8l3lXC2VBWOjqfTeeS+qD7ArKe6F7IO5ZNxJ2mTUuodhaPySta1MS37DWoz6UqeJu+wKIsHok90+EU4aAvUABh3RXSQA1E3IaxkooMhhrdIQO6K4L0M+CZ7lP35sW5pnwsN4sFlPec9Xn5e15LTlb9yFlx7Nm4DE2SX1s9QyMRE7z0LNO0X7wiihojuyQM6OQwc+ZaaDw5HerBisX/3LcC9osVLQQg1pt91YcCczUQ08qfUJV6aOD962K+EGzVFQGGauJDzgEH9BHQg7QwCWr0f3mu8/TNBzys2c0YsywDUc3AT1KP6TEJcR/dy6WbhJD3qyO/BLfCzRrHUOIaz+WbwmfTX8tGEQnVV5sEkZ39PWA1hRQ83b3MNV8cRJl+h/FnTk62yM4ZqGu73+x8JiEG3HAJp9/xYfNSwg8++PojJBXe+yM6DrTh5fTnBhxatLEKB658p8jTqJtF4+YD9D8+L39xEns6GQ7FphNqTC6IcpXyqq+zNuzF7vs/T+5n7978dUs3sK6YpBX4BlDxK6MsRF1WYqajEVeBJEMwdX2rfGkN9B5GfWdmdrzBjZQ6yyvlx5Dg++qgxpMiVOXSnw5v7H03PrT1we9wKre/2SQ1A2Oq/UDt/7tR2cMLoaPDNBpFT1W44LJB7o9iDT9YHUG3dC7R8JoeJ5YjyFmxbUQ5xg1oHnrBaPrGCuEYdQWhuDmp9Px2yRu8Agxzr9rNCZ/W8nWJVmvwvlXoldrum2rAECx0wiWqBhQ/+eX65 badger@unaka.lan
#ansible root key
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAmS3g5fSXizcCqKMI1n5WPFrfMyu7BMrMkMYyck07rB/cf2orO8kKj5schjILA8NYJFStlv2CGRXmQlendj523FPzPmzxvTP/OT4qdywa4LKGvAxOkRGCMMxWzVFLdEMzsLUE/+FLX+xd1US9UPLGRsbMkdz4ORCc0G8gqTr835H56mQPI+/zPFeQjHoHGYtQA1wnJH/0LCuFFfU82IfzrXzFDIBAA5i2S+eEOk7/SA4Ciek1CthNtqPX27M6UqkJMBmVpnAdeDz2noWMvlzAAUQ7dHL84CiXbUnF3hhYrHDbmD+kEK+KiRrYh3PT+5YfEPVI/xiDJ2fdHGxY7Dr2TQ== root@lockbox01.phx2.fedoraproject.org
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDnI+8JwOdXUO6T7gI6oXHUG4oQJsMsCwEGnRBjU4po93i9g9C5sShgqJMvBI2wzDdgL/xOFJeHuo+WTP6W/oiv8KHEco3wXSI4OlsPanORGn2TajwzEaYlfxJNlQPvmuxFxcrfkPF8cOGa0DRNTLZK7abO3tKfZV7IJyNX3Z0LFZ+VwcJBy1ryg0GonMYkjEreiAgJyGCJ1crnKiRMPSu/QONb0MTytMlJRtc/Lfi/KkT8C/LQ/e3zA5DWo9Ykb79M1k4MmtmE8mIUlWUQ9hagMhCj3/6Uze04H48fpYzDPr6AHU6rqxLTdBGgLCeSIUkE1ReZpAk2E+QAB/fTliydT93ig5i2RDt3YHcAa994C85bc0D+A21u0H/LzR1wbIItx+MpOkZePHevDSe4y8ULx0cUiEHxmTTZ2C6j+1EqaP5PeWEqlU3iXTgiqOzTEwfEaH7nScBpGbFmPnzdgO7xLuKebnvWjGu6d8Jd41KN5dN5WNMJaNEXBl65ySfeQYCCX/JZ5bfvC/07zAKj0/RKOFMyS07rb0rKh3EBcRx/tHgCq0hJ23NwfkShchj7v2Zh+JjgHKBv1+ZiIwnx2/WuYwvKwyqXZ5Jpy+lgxcC7l11w1ZN3tCd66E6NdU8AJIOz0n+trIorsipQBY0In3ZBLUU0PUYwno73e7ZabgcE7Q== patrick-new@fedora.thuis.local
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDep2yv5JTFJ0IdCiqumMFfNdu3H5Ej/rVVDEotS+3n5+1plKvajPXOA9c/0RLrBC/vL8LqDVrxBaiCvPFCIRN9a3Y1ru3Dwg++NmcMEvYq/H3SMHhZsH1yjlCD2r38znpX+D+CBMQnn7F5jqYFAnaMeESrgGGFFANfJN9HdHjb6eIrBGJyUOJ2JnZnhLFT5y7ru2xRMDmgsO3U+crmecYAeX/4iUadUxit36defAniVOA/3Jwva4Gjz73vIDTHNy1mxB8Y2ZBBl9WcL4qHc6wnAyFaiULcT5++Gdjn+MIyL86G/7mIIgC+fcVk/5JrdwMBiAZYMUZO/pzPobOe0spF threebean@marat
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC2xAeq5uO72kY4mSFgFl9ZSveiAqe4tUv8hemrxwZH+w24RFOGrW1nOV+hjQhRpYVNwvqJkrd9N7VY/HXkd9df2AgQyYoiVfeMPTA7lB0/e/S1Bd6XGdWudvqRU1O6Rug0j3RQOuz7WDJgnanBVcBl8+X7EaPGpv9aILgh6CJDOVAO2GgaFdzI7CHtR99CMqNG7BsQF8C9Y8ALK+8HOPRE0R1wzgaAw85HTo0gyIWcrZqr4HI/QDuLjUQ6AZSgzE7dTiwZuFnUjLBnL0YP1bxJglt9IFx6r6jvdp/yMD+Bn/91WvmBL/AD+GIQ/ZydoeLo+JQW22ibiX/SzdAE4Cd3 pingou@FedoraProject

2
files/copr/boto Normal file
View File

@@ -0,0 +1,2 @@
[Boto]
https_validate_certificates = False

58
files/copr/copr-be.conf Normal file
View File

@@ -0,0 +1,58 @@
[backend]
# URL where are results visible
# default is http://copr
results_baseurl=http://copr-be.cloud.fedoraproject.org/results
# ??? What is this
# default is http://coprs/rest/api
#frontend_url=http://copr-fe.cloud.fedoraproject.org/backend
frontend_url=http://172.16.5.6/backend
# must have same value as BACKEND_PASSWORD from have frontend in /etc/copr/copr.conf
# default is PASSWORDHERE but you really should change it. really.
frontend_auth={{ copr_backend_password }}
# path to ansible playbook which spawns builder
# see /usr/share/copr*/playbooks/ for examples
# default is /etc/copr/builder_playbook.yml
spawn_playbook=/home/copr/provision/builderpb.yml
# path to ansible playbook which terminate builder
# default is /etc/copr/terminate_playbook.yml
terminate_playbook=/home/copr/provision/terminatepb.yml
# directory where jobs are stored
# no defaults
jobsdir=/var/lib/copr/jobs
# directory where results are stored
# should be accessible from web using 'results_baseurl' URL
# no default
destdir=/var/lib/copr/public_html/results
# default is 10
sleeptime=30
# default is 8
num_workers=8
# path to log file
# default is /var/log/copr/backend.log
logfile=/var/log/copr/backend.log
# default is /var/log/copr/workers/
worker_logdir=/var/log/copr/workers/
# exit on worker failure
# default is false
#exit_on_worker=false
# publish fedmsg notifications from workers if true
# default is false
#fedmsg_enabled=false
fedmsg_enabled=true
[builder]
# default is 1800
timeout=3600

View File

@@ -0,0 +1,57 @@
[backend]
# URL where are results visible
# default is http://copr
results_baseurl=http://copr-be-dev.cloud.fedoraproject.org/results
# ??? What is this
# default is http://coprs/rest/api
frontend_url=http://copr-fe-dev.cloud.fedoraproject.org/backend
# must have same value as BACKEND_PASSWORD from have frontend in /etc/copr/copr.conf
# default is PASSWORDHERE but you really should change it. really.
frontend_auth=PASSWORDHERE
# path to ansible playbook which spawns builder
# see /usr/share/copr*/playbooks/ for examples
# default is /etc/copr/builder_playbook.yml
spawn_playbook=/home/copr/provision/builderpb.yml
# path to ansible playbook which terminate builder
# default is /etc/copr/terminate_playbook.yml
terminate_playbook=/home/copr/provision/terminatepb.yml
# directory where jobs are stored
# no defaults
jobsdir=/var/lib/copr/jobs
# directory where results are stored
# should be accessible from web using 'results_baseurl' URL
# no default
destdir=/var/lib/copr/public_html/results
# default is 10
sleeptime=30
# default is 8
num_workers=5
# path to log file
# default is /var/log/copr/backend.log
logfile=/var/log/copr/backend.log
# default is /var/log/copr/workers/
worker_logdir=/var/log/copr/workers/
# exit on worker failure
# default is false
#exit_on_worker=false
# publish fedmsg notifications from workers if true
# default is false
#fedmsg_enabled=false
[builder]
# default is 1800
timeout=3600

View File

@@ -5,6 +5,6 @@ if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
if [ -f /srv/copr-work/copr/cloud/ec2rc.sh ]; then
. /srv/copr-work/copr/cloud/ec2rc.sh
if [ -f /home/copr/cloud/ec2rc.sh ]; then
. /home/copr/cloud/ec2rc.sh
fi

30
files/copr/fe/copr.conf Normal file
View File

@@ -0,0 +1,30 @@
# Directory and files where is stored Copr database files
DATA_DIR = '/var/lib/copr/data'
DATABASE = '/var/lib/copr/data/copr.db'
OPENID_STORE = '/var/lib/copr/data/openid_store'
WHOOSHEE_DIR = '/var/lib/copr/data/whooshee'
SECRET_KEY = {{ copr_secret_key }}
BACKEND_PASSWORD = {{ copr_backend_password }}
# restrict access to a set of users
#USE_ALLOWED_USERS = False
#ALLOWED_USERS = ['bonnie', 'clyde']
SQLALCHEMY_DATABASE_URI = {{ copr_database_uri }}
# Token length, defaults to 30 (max 255)
#API_TOKEN_LENGTH = 30
# Expiration of API token in days
#API_TOKEN_EXPIRATION = 180
# logging options
#SEND_LOGS_TO = ['root@localhost']
#LOGGING_LEVEL = logging.ERROR
DEBUG = False
SQLALCHEMY_ECHO = False
CSRF_ENABLED = True
WTF_CSRF_ENABLED = True

View File

@@ -7,15 +7,58 @@ WSGISocketPrefix /var/run/wsgi
WSGIPassAuthorization On
WSGIDaemonProcess 127.0.0.1 user=copr-fe group=copr-fe threads=5
WSGIScriptAlias / /srv/copr-fe/copr/coprs_frontend/application
WSGIScriptAlias / /usr/share/copr/coprs_frontend/application
WSGIProcessGroup 127.0.0.1
ErrorLog logs/error_coprs
CustomLog logs/access_coprs common
<Directory /srv/copr-fe/copr>
<Directory /usr/share/copr>
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:443>
SSLEngine on
SSLProtocol all -SSLv2
#optimeize on speed
SSLCipherSuite RC4-SHA:AES128-SHA:HIGH:!aNULL:!MD5
SSLHonorCipherOrder on
SSLCertificateFile /etc/pki/tls/ca.crt
SSLCertificateKeyFile /etc/pki/tls/private/ca.key
ServerName copr-fe.cloud.fedoraproject.org:443
WSGIPassAuthorization On
#WSGIDaemonProcess 127.0.0.1 user=copr-fe group=copr-fe threads=5
WSGIScriptAlias / /usr/share/copr/coprs_frontend/application
WSGIProcessGroup 127.0.0.1
ErrorLog logs/error_coprs
CustomLog logs/access_coprs common
<Directory /usr/share/copr>
WSGIApplicationGroup %{GLOBAL}
Require all granted
</Directory>
</VirtualHost>
<IfModule mod_status.c>
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Require all denied
Require host localhost .redhat.com
</Location>
</IfModule>
<IfModule mpm_prefork_module>
StartServers 8
MinSpareServers 8
MaxSpareServers 20
MaxClients 50
MaxRequestsPerChild 10000
</IfModule>

View File

@@ -0,0 +1,13 @@
local coprdb copr-fe md5
host coprdb copr-fe 127.0.0.1/8 md5
host coprdb copr-fe ::1/128 md5
local coprdb postgres ident
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all peer
# IPv4 local connections:
host all all 127.0.0.1/32 ident
# IPv6 local connections:
host all all ::1/128 ident

View File

@@ -0,0 +1,10 @@
[Copr]
name=Copr
failovermethod=priority
#baseurl=http://copr-be.cloud.fedoraproject.org/results/msuchy/copr/fedora-19-x86_64/
# 172.16.5.4 is copr-be.cloud.fedoraproject.org
# see https://fedorahosted.org/fedora-infrastructure/ticket/4025
baseurl=http://172.16.5.4/results/msuchy/copr/fedora-19-x86_64/
enabled=1
gpgcheck=0

4
files/copr/forward Normal file
View File

@@ -0,0 +1,4 @@
msuchy+coprmachine@redhat.com
kevin@scrye.com
nb@fedoraproject.org
sgallagh@redhat.com

View File

@@ -90,7 +90,7 @@ server.port = 80
##
## Use IPv6?
##
server.use-ipv6 = "enable"
server.use-ipv6 = "disable"
##
## bind to a specific IP
@@ -112,7 +112,7 @@ server.groupname = "lighttpd"
##
## Document root
##
server.document-root = "/srv/copr-repo"
server.document-root = "/var/lib/copr/public_html"
##
## The value for the "Server:" response field.
@@ -445,3 +445,11 @@ server.upload-dirs = ( "/var/tmp" )
#include_shell "cat /etc/lighttpd/vhosts.d/*.conf"
##
#######################################################################
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/lighttpd/coprs-be.fedoraproject.org.pem"
ssl.ca-file = "/etc/lighttpd/coprs-be.fedoraproject.org.crt"
ssl.disable-client-renegotiation = "enable"
ssl.cipher-list = "ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4-SHA:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM"
}

View File

@@ -6,11 +6,11 @@
# location of inventory file, eliminates need to specify -i
hostfile = /srv/copr-work/provision/inventory
hostfile = /home/copr/provision/inventory
# location of ansible library, eliminates need to specify --module-path
library = /srv/copr-work/provision/library:/usr/share/ansible
library = /home/copr/provision/library:/usr/share/ansible
# default module name used in /usr/bin/ansible when -m is not specified
@@ -48,7 +48,11 @@ sudo_user=root
# connection to use when -c <connection_type> is not specified
transport=paramiko
#transport=paramiko
transport=ssh
# this is needed for paramiko, ssh already have this said in .ssh/config
host_key_checking = False
# remote SSH port to be used when --port or "port:" or an equivalent inventory
# variable is not specified.
@@ -69,11 +73,12 @@ remote_user=root
# additional plugin paths for non-core plugins
action_plugins = /usr/lib/python2.6/site-packages/ansible/runner/action_plugins:/srv/copr-work/provision/action_plugins/
action_plugins = /usr/lib/python2.7/site-packages/ansible/runner/action_plugins:/home/copr/provision/action_plugins/
private_key_file=/home/copr/.ssh/id_rsa
[paramiko_connection]
record_host_keys=False
# nothing to configure yet

View File

@@ -12,19 +12,20 @@
tasks:
- name: spin it up
local_action: ec2 keypair=${keypair} image=${image} type=${instance_type} wait=true group=${security_group}
local_action: ec2 keypair={{ keypair }} image={{ image }} type={{ instance_type }} wait=true group={{ security_group }}
register: inst_res
- name: get its internal ip b/c openstack is sometimes stupid
local_action: shell euca-describe-instances ${inst_res.instances[0].id} | grep INSTANCE | cut -f 18
local_action: shell euca-describe-instances {{ inst_res.instances[0].id }} | grep INSTANCE | cut -f 18
register: int_ip
- name: add it to the special group
local_action: add_host hostname=${int_ip.stdout} groupname=builder_temp_group
local_action: add_host hostname={{ int_ip.stdout }} groupname=builder_temp_group
- name: wait for the host to be hot
local_action: wait_for host=${int_ip.stdout} port=22 delay=5 timeout=600
local_action: wait_for host={{ int_ip.stdout }} port=22 delay=5 timeout=600
- debug: msg="IP={{ int_ip.stdout }}"
- hosts: builder_temp_group
user: root
@@ -34,21 +35,27 @@
tasks:
- name: edit hostname to be instance name
action: shell hostname `curl -s http://169.254.169.254/2009-04-04/meta-data/instance-id`
- name: install pkgs
action: yum state=present pkg={{ item }}
with_items:
- rsync
- openssh-clients
- libselinux-python
- libsemanage-python
- name: add repos
action: copy src=$files/$item dest=/etc/yum.repos.d/$item
action: copy src={{ files }}/{{ item }} dest=/etc/yum.repos.d/{{ item }}
with_items:
- builder.repo
- epel6.repo
- name: install pkgs
action: yum state=present pkg=$item
- name: install additional pkgs
action: yum state=present pkg={{ item }}
with_items:
- mock
- createrepo
- yum-utils
- rsync
- openssh-clients
- name: make sure newest rpm
action: yum name=rpm state=latest
@@ -60,16 +67,15 @@
action: file state=directory path=/home/mockbuilder/.ssh mode=0700 owner=mockbuilder group=mockbuilder
- name: mockbuilder authorized_keys
action: authorized_key user=mockbuilder key='$FILE(${files}/buildsys.pub)'
action: authorized_key user=mockbuilder key='{{ lookup('file', '/home/copr/provision/files/buildsys.pub') }}'
- name: put updated mock configs into /etc/mock
action: copy src=$files/mock/$item dest=/etc/mock
action: copy src={{ files }}/mock/{{ item }} dest=/etc/mock
with_items:
- site-defaults.cfg
- epel-5-x86_64.cfg
- epel-5-i386.cfg
- name: put updated mockchain into /usr/bin
action: copy src=$files/mockchain dest=/usr/bin/mockchain mode=0755 owner=root group=root
- fedora-20-x86_64.cfg
- fedora-20-i386.cfg
- epel-7-x86_64.cfg

View File

@@ -5,3 +5,19 @@ enabled=1
gpgcheck=1
gpgkey=http://infrastructure.fedoraproject.org/repo/RPM-GPG-KEY-INFRASTRUCTURE
[msuchy-Mock]
name=Copr repo for Mock owned by msuchy
description=Mock for RHEL6 with patch from https://bugzilla.redhat.com/show_bug.cgi?id=1028438 and https://bugzilla.redhat.com/show_bug.cgi?id=1034805
baseurl=http://172.16.5.4/results/msuchy/Mock/epel-6-$basearch/
skip_if_unavailable=True
gpgcheck=0
enabled=1
[msuchy-scl-utils]
name=Copr repo for scl-utils owned by msuchy
description=scl-utils with patch from https://bugzilla.redhat.com/show_bug.cgi?id=985233
baseurl=http://172.16.5.4/results/msuchy/scl-utils/epel-6-$basearch/
skip_if_unavailable=True
gpgcheck=0
enabled=1

View File

@@ -3,8 +3,12 @@ config_opts['target_arch'] = 'i386'
config_opts['legal_host_arches'] = ('i386', 'i586', 'i686', 'x86_64')
config_opts['chroot_setup_cmd'] = 'install buildsys-build'
config_opts['dist'] = 'el5' # only useful for --resultdir variable subst
config_opts['macros'] = {}
if not config_opts.has_key('macros'): config_opts['macros'] = {}
config_opts['macros']['%__arch_install_post'] = '%{nil}'
config_opts['macros']['%rhel'] = '5'
config_opts['macros']['%dist'] = '.el5'
config_opts['macros']['%el5'] = '1'
config_opts['releasever'] = '5'
config_opts['yum.conf'] = """
[main]

View File

@@ -3,8 +3,12 @@ config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['chroot_setup_cmd'] = 'install buildsys-build'
config_opts['dist'] = 'el5' # only useful for --resultdir variable subst
config_opts['macros'] = {}
if not config_opts.has_key('macros'): config_opts['macros'] = {}
config_opts['macros']['%__arch_install_post'] = '%{nil}'
config_opts['macros']['%rhel'] = '5'
config_opts['macros']['%dist'] = '.el5'
config_opts['macros']['%el5'] = '1'
config_opts['releasever'] = '5'
config_opts['yum.conf'] = """
[main]

View File

@@ -0,0 +1,45 @@
config_opts['chroothome'] = '/builddir'
config_opts['basedir'] = '/var/lib/mock'
config_opts['root'] = 'epel-7-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils findutils gawk gcc gcc-c++ grep gzip info make patch redhat-release-server redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz'
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
config_opts['macros'] = {}
config_opts['macros']['%dist'] = '.el7'
config_opts['macros']['%rhel'] = '7'
config_opts['macros']['%el7'] = '1'
config_opts['macros']['%_topdir'] = '/builddir/build'
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
config_opts['releasever'] = '7'
config_opts['plugin_conf']['root_cache_enable'] = False
config_opts['plugin_conf']['yum_cache_enable'] = False
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
logfile=/var/log/yum.log
reposdir=/dev/null
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[beta]
name=beta
baseurl=http://ftp.redhat.com/redhat/rhel/beta/7/x86_64/os/
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
failovermethod=priority
enabled=1
"""

View File

@@ -0,0 +1,62 @@
config_opts['root'] = 'fedora-20-i386'
config_opts['target_arch'] = 'i686'
config_opts['legal_host_arches'] = ('i386', 'i586', 'i686', 'x86_64')
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
config_opts['dist'] = 'fc20' # only useful for --resultdir variable subst
config_opts['releasever'] = '20'
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[fedora]
name=fedora
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-20&arch=i386
failovermethod=priority
[updates]
name=updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f20&arch=i386
failovermethod=priority
[updates-testing]
name=updates-testing
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f20&arch=i386
failovermethod=priority
enabled=0
[local]
name=local
baseurl=http://kojipkgs.fedoraproject.org/repos/f20-build/latest/i386/
cost=2000
enabled=0
[fedora-debuginfo]
name=fedora-debuginfo
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-20&arch=i386
failovermethod=priority
enabled=0
[updates-debuginfo]
name=updates-debuginfo
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f20&arch=i386
failovermethod=priority
enabled=0
[updates-testing-debuginfo]
name=updates-testing-debuginfo
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f20&arch=i386
failovermethod=priority
enabled=0
"""

View File

@@ -0,0 +1,62 @@
config_opts['root'] = 'fedora-20-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
config_opts['dist'] = 'fc20' # only useful for --resultdir variable subst
config_opts['releasever'] = '20'
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[fedora]
name=fedora
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-20&arch=x86_64
failovermethod=priority
[updates]
name=updates
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f20&arch=x86_64
failovermethod=priority
[updates-testing]
name=updates-testing
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f20&arch=x86_64
failovermethod=priority
enabled=0
[local]
name=local
baseurl=http://kojipkgs.fedoraproject.org/repos/f20-build/latest/x86_64/
cost=2000
enabled=0
[fedora-debuginfo]
name=fedora-debuginfo
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-20&arch=x86_64
failovermethod=priority
enabled=0
[updates-debuginfo]
name=updates-debuginfo
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f20&arch=x86_64
failovermethod=priority
enabled=0
[updates-testing-debuginfo]
name=updates-testing-debuginfo
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f20&arch=x86_64
failovermethod=priority
enabled=0
"""

View File

@@ -1,337 +0,0 @@
#!/usr/bin/python -tt
# by skvidal@fedoraproject.org
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
# copyright 2012 Red Hat, Inc.
# SUMMARY
# mockchain
# take a mock config and a series of srpms
# rebuild them one at a time
# adding each to a local repo
# so they are available as build deps to next pkg being built
import sys
import subprocess
import os
import optparse
import tempfile
import shutil
from urlgrabber import grabber
import time
mockconfig_path='/etc/mock'
def createrepo(path):
if os.path.exists(path + '/repodata/repomd.xml'):
comm = ['/usr/bin/createrepo', '--update', path]
else:
comm = ['/usr/bin/createrepo', path]
cmd = subprocess.Popen(comm,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
out, err = cmd.communicate()
return out, err
def parse_args(args):
parser = optparse.OptionParser('\nmockchain -r mockcfg pkg1 [pkg2] [pkg3]')
parser.add_option('-r', '--root', default=None, dest='chroot',
help="chroot config name/base to use in the mock build")
parser.add_option('-l', '--localrepo', default=None,
help="local path for the local repo, defaults to making its own")
parser.add_option('-c', '--continue', default=False, action='store_true',
dest='cont',
help="if a pkg fails to build, continue to the next one")
parser.add_option('-a','--addrepo', default=[], action='append',
dest='repos',
help="add these repo baseurls to the chroot's yum config")
parser.add_option('--recurse', default=False, action='store_true',
help="if more than one pkg and it fails to build, try to build the rest and come back to it")
parser.add_option('--log', default=None, dest='logfile',
help="log to the file named by this option, defaults to not logging")
parser.add_option('--tmp_prefix', default=None, dest='tmp_prefix',
help="tmp dir prefix - will default to username-pid if not specified")
#FIXME?
# figure out how to pass other args to mock?
opts, args = parser.parse_args(args)
if opts.recurse:
opts.cont = True
if not opts.chroot:
print "You must provide an argument to -r for the mock chroot"
sys.exit(1)
if len(sys.argv) < 3:
print "You must specifiy at least 1 package to build"
sys.exit(1)
return opts, args
def add_local_repo(infile, destfile, baseurl, repoid=None):
"""take a mock chroot config and add a repo to it's yum.conf
infile = mock chroot config file
destfile = where to save out the result
baseurl = baseurl of repo you wish to add"""
try:
config_opts = {}
execfile(infile)
if not repoid:
repoid=baseurl.split('//')[1].replace('/','_')
localyumrepo="""
[%s]
name=%s
baseurl=%s
enabled=1
skip_if_unavailable=1
metadata_expire=30
cost=1
""" % (repoid, baseurl, baseurl)
config_opts['yum.conf'] += localyumrepo
br_dest = open(destfile, 'w')
for k,v in config_opts.items():
br_dest.write("config_opts[%r] = %r\n" % (k, v))
br_dest.close()
return True, ''
except (IOError, OSError):
return False, "Could not write mock config to %s" % destfile
return True, ''
def do_build(opts, cfg, pkg):
# returns 0, cmd, out, err = failure
# returns 1, cmd, out, err = success
# returns 2, None, None, None = already built
s_pkg = os.path.basename(pkg)
pdn = s_pkg.replace('.src.rpm', '')
resdir = '%s/%s' % (opts.local_repo_dir, pdn)
resdir = os.path.normpath(resdir)
if not os.path.exists(resdir):
os.makedirs(resdir)
success_file = resdir + '/success'
fail_file = resdir + '/fail'
if os.path.exists(success_file):
return 2, None, None, None
# clean it up if we're starting over :)
if os.path.exists(fail_file):
os.unlink(fail_file)
mockcmd = ['/usr/bin/mock',
'--configdir', opts.config_path,
'--resultdir', resdir,
'--uniqueext', opts.uniqueext,
'-r', cfg, ]
print 'building %s' % s_pkg
mockcmd.append(pkg)
cmd = subprocess.Popen(mockcmd,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE )
out, err = cmd.communicate()
if cmd.returncode == 0:
open(success_file, 'w').write('done\n')
ret = 1
else:
open(fail_file, 'w').write('undone\n')
ret = 0
return ret, cmd, out, err
def log(lf, msg):
if lf:
now = time.time()
try:
open(lf, 'a').write(str(now) + ':' + msg + '\n')
except (IOError, OSError), e:
print 'Could not write to logfile %s - %s' % (lf, str(e))
print msg
def main(args):
opts, args = parse_args(args)
# take mock config + list of pkgs
cfg=opts.chroot
pkgs=args[1:]
mockcfg = mockconfig_path + '/' + cfg + '.cfg'
if not os.path.exists(mockcfg):
print "could not find config: %s" % mockcfg
sys.exit(1)
if not opts.tmp_prefix:
try:
opts.tmp_prefix = os.getlogin()
except OSError, e:
print "Could not find login name for tmp dir prefix add --tmp_prefix"
sys.exit(1)
pid = os.getpid()
opts.uniqueext = '%s-%s' % (opts.tmp_prefix, pid)
# create a tempdir for our local info
if opts.localrepo:
local_tmp_dir = os.path.abspath(opts.localrepo)
if not os.path.exists(local_tmp_dir):
os.makedirs(local_tmp_dir)
else:
pre = 'mock-chain-%s-' % opts.uniqueext
local_tmp_dir = tempfile.mkdtemp(prefix=pre, dir='/var/tmp')
os.chmod(local_tmp_dir, 0755)
if opts.logfile:
opts.logfile = os.path.join(local_tmp_dir, opts.logfile)
if os.path.exists(opts.logfile):
os.unlink(opts.logfile)
log(opts.logfile, "starting logfile: %s" % opts.logfile)
opts.local_repo_dir = os.path.normpath(local_tmp_dir + '/results/' + cfg + '/')
if not os.path.exists(opts.local_repo_dir):
os.makedirs(opts.local_repo_dir, mode=0755)
local_baseurl="file://%s" % opts.local_repo_dir
log(opts.logfile, "results dir: %s" % opts.local_repo_dir)
opts.config_path = os.path.normpath(local_tmp_dir + '/configs/' + cfg + '/')
if not os.path.exists(opts.config_path):
os.makedirs(opts.config_path, mode=0755)
log(opts.logfile, "config dir: %s" % opts.config_path)
my_mock_config = opts.config_path + '/' + os.path.basename(mockcfg)
# modify with localrepo
res, msg = add_local_repo(mockcfg, my_mock_config, local_baseurl, 'local_build_repo')
if not res:
log(opts.logfile, "Error: Could not write out local config: %s" % msg)
sys.exit(1)
for baseurl in opts.repos:
res, msg = add_local_repo(my_mock_config, my_mock_config, baseurl)
if not res:
log(opts.logfile, "Error: Could not add: %s to yum config in mock chroot: %s" % (baseurl, msg))
sys.exit(1)
# these files needed from the mock.config dir to make mock run
for fn in ['site-defaults.cfg', 'logging.ini']:
pth = mockconfig_path + '/' + fn
shutil.copyfile(pth, opts.config_path + '/' + fn)
# createrepo on it
out, err = createrepo(opts.local_repo_dir)
if err.strip():
log(opts.logfile, "Error making local repo: %s" % opts.local_repo_dir)
log(opts.logfile, "Err: %s" % err)
sys.exit(1)
download_dir = tempfile.mkdtemp()
downloaded_pkgs = {}
built_pkgs = []
try_again = True
to_be_built = pkgs
while try_again:
failed = []
for pkg in to_be_built:
if not pkg.endswith('.rpm'):
log(opts.logfile, "%s doesn't appear to be an rpm - skipping" % pkg)
failed.append(pkg)
continue
elif pkg.startswith('http://') or pkg.startswith('https://'):
url = pkg
cwd = os.getcwd()
os.chdir(download_dir)
try:
log(opts.logfile, 'Fetching %s' % url)
ug = grabber.URLGrabber()
fn = ug.urlgrab(url)
pkg = download_dir + '/' + fn
except Exception, e:
log(opts.logfile, 'Error Downloading %s: %s' % (url, str(e)))
failed.append(url)
os.chdir(cwd)
continue
else:
os.chdir(cwd)
downloaded_pkgs[pkg] = url
log(opts.logfile, "Start build: %s" % pkg)
ret, cmd, out, err = do_build(opts, cfg, pkg)
log(opts.logfile, "End build: %s" % pkg)
if ret == 0:
if opts.recurse:
failed.append(pkg)
log(opts.logfile, "Error building %s, will try again" % os.path.basename(pkg))
else:
log(opts.logfile,"Error building %s" % os.path.basename(pkg))
log(opts.logfile,"See logs/results in %s" % opts.local_repo_dir)
if not opts.cont:
sys.exit(1)
elif ret == 1:
log(opts.logfile, "Success building %s" % os.path.basename(pkg))
built_pkgs.append(pkg)
# createrepo with the new pkgs
out, err = createrepo(opts.local_repo_dir)
if err.strip():
log(opts.logfile, "Error making local repo: %s" % opts.local_repo_dir)
log(opts.logfile, "Err: %s" % err)
elif ret == 2:
log(opts.logfile, "Skipping already built pkg %s" % os.path.basename(pkg))
if failed:
if len(failed) != len(to_be_built):
to_be_built = failed
try_again = True
log(opts.logfile, 'Trying to rebuild %s failed pkgs' % len(failed))
else:
log(opts.logfile, "Tried twice - following pkgs could not be successfully built:")
for pkg in failed:
msg = pkg
if pkg in downloaded_pkgs:
msg = downloaded_pkgs[pkg]
log(opts.logfile, msg)
try_again = False
else:
try_again = False
# cleaning up our download dir
shutil.rmtree(download_dir, ignore_errors=True)
log(opts.logfile, "Results out to: %s" % opts.local_repo_dir)
log(opts.logfile, "Pkgs built: %s" % len(built_pkgs))
log(opts.logfile, "Packages successfully built in this order:")
for pkg in built_pkgs:
log(opts.logfile, pkg)
if __name__ == "__main__":
main(sys.argv)
sys.exit(0)

View File

@@ -10,7 +10,7 @@
register: instanceid
- name: terminate it
local_action: command euca-terminate-instances ${instanceid.stdout}
local_action: command euca-terminate-instances {{ instanceid.stdout }}

View File

@@ -1,32 +0,0 @@
# Setup fedmsg logging.
# See the following for constraints on this format http://bit.ly/Xn1WDn
config = dict(
logging=dict(
version=1,
formatters=dict(
bare={
"format": "%(message)s",
},
),
handlers=dict(
console={
"class": "logging.StreamHandler",
"formatter": "bare",
"level": "DEBUG",
"stream": "ext://sys.stdout",
}
),
loggers=dict(
fedmsg={
"level": "DEBUG",
"propagate": False,
"handlers": ["console"],
},
moksha={
"level": "DEBUG",
"propagate": False,
"handlers": ["console"],
},
),
),
)

39
files/gnome/backup.sh Normal file
View File

@@ -0,0 +1,39 @@
#!/bin/bash
# backup.sh will run FROM backup03 TO the various GNOME boxes on the set. (there's two set
# of machines, one being the ones with a public IP and the others being the IP-less ones that
# will forward their agent through bastion.gnome.org)
export PATH=$PATH:/bin:/usr/bin:/usr/local/bin
MACHINES='signal.gnome.org
webapps2.gnome.org
clutter.gnome.org
blogs.gnome.org
chooser.gnome.org
git.gnome.org
webapps.gnome.org
socket.gnome.org
bugzilla-web.gnome.org
progress.gnome.org
clipboard.gnome.org
cloud-ssh.gnome.org
bastion.gnome.org
spinner.gnome.org
master.gnome.org
combobox.gnome.org
restaurant.gnome.org
expander.gnome.org
live.gnome.org
extensions.gnome.org
view.gnome.org
puppet.gnome.org
accelerator.gnome.org
range.gnome.org'
BACKUP_DIR='/fedora_backups/gnome/'
LOGS_DIR='/fedora_backups/gnome/logs'
for MACHINE in $MACHINES; do
rsync -avz -e 'ssh -F /usr/local/etc/gnome_ssh_config' --bwlimit=2000 $MACHINE:/etc/rsyncd/backup.exclude $BACKUP_DIR/excludes/$MACHINE.exclude
rdiff-backup --remote-schema 'ssh -F /usr/local/etc/gnome_ssh_config %s rdiff-backup --server' --print-statistics --exclude-device-files --exclude /selinux --exclude /sys --exclude /proc --exclude-globbing-filelist $BACKUP_DIR/excludes/$MACHINE.exclude $MACHINE::/ $BACKUP_DIR/$MACHINE/ | mail -s "Daily backup: $MACHINE" backups@gnome.org
done

8
files/gnome/ssh_config Normal file
View File

@@ -0,0 +1,8 @@
Host live.gnome.org extensions.gnome.org puppet.gnome.org view.gnome.org drawable.gnome.org
User root
IdentityFile /usr/local/etc/gnome_backup_id.rsa
ProxyCommand ssh -W %h:%p bastion.gnome.org -F /usr/local/etc/gnome_ssh_config
Host *.gnome.org
User root
IdentityFile /usr/local/etc/gnome_backup_id.rsa

View File

@@ -4,6 +4,7 @@
10.5.125.36 kojipkgs.fedoraproject.org
10.5.126.23 infrastructure.fedoraproject.org
10.5.124.138 arm.koji.fedoraproject.org
10.5.124.138 armpkgs.fedoraproject.org
10.5.125.44 pkgs.fedoraproject.org pkgs
#
# This is proxy01.phx2.fedoraproject.org

View File

@@ -0,0 +1,7 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.52 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.71 db-ask

View File

@@ -0,0 +1,11 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 db-ask

View File

@@ -0,0 +1,7 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.52 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.71 db-ask

View File

@@ -0,0 +1,6 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.52 admin.fedoraproject.org
10.5.126.109 db-datanommer db-datanommer
10.5.126.71 db-tahrir db-tahrir

View File

@@ -2,7 +2,7 @@
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy5 proxy01 proxy02 proxy03 proxy04 proxy05 fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org

View File

@@ -0,0 +1,5 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.52 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.71 db-tahrir db-tahrir

View File

@@ -2,7 +2,7 @@
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy5 proxy01 proxy02 proxy03 proxy04 proxy05 fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org

View File

@@ -0,0 +1,5 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.52 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.71 db-tahrir db-tahrir

View File

@@ -0,0 +1,9 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg

View File

@@ -0,0 +1,11 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.71 db-fedocal db-fedocal

View File

@@ -0,0 +1,11 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 db-fedocal db-fedocal

View File

@@ -0,0 +1,11 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.71 db-fedocal db-fedocal

View File

@@ -0,0 +1,6 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.52 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.71 db-notifs db-notifs
10.5.126.109 db-datanommer db-datanommer

View File

@@ -0,0 +1,12 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 db-notifs db-notifs
10.5.126.85 db-datanommer db-datanommer

View File

@@ -0,0 +1,6 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.52 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.71 db-notifs db-notifs
10.5.126.109 db-datanommer db-datanommer

View File

@@ -0,0 +1,12 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 db-notifs db-notifs
10.5.126.85 db-datanommer db-datanommer

View File

@@ -0,0 +1,6 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.52 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.71 db-notifs db-notifs
10.5.126.109 db-datanommer db-datanommer

View File

@@ -0,0 +1,12 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 db-notifs db-notifs
10.5.126.85 db-datanommer db-datanommer

View File

@@ -0,0 +1,7 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.52 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.71 nuancier_db nuancier_db

View File

@@ -0,0 +1,11 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 nuancier_db nuancier_db

View File

@@ -0,0 +1,7 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.52 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.71 nuancier_db nuancier_db

View File

@@ -0,0 +1,11 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 nuancier_db nuancier_db

View File

@@ -0,0 +1,6 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.52 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.23 infrastructure.fedoraproject.org
10.5.125.44 pkgs.fedoraproject.org
10.5.126.71 db-summershum db-summershum

View File

@@ -0,0 +1,12 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.125.44 pkgs.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 db-summershum db-summershum

View File

@@ -0,0 +1,430 @@
# -*- test-case-name: openid.test.test_fetchers -*-
"""
This module contains the HTTP fetcher interface and several implementations.
"""
__all__ = ['fetch', 'getDefaultFetcher', 'setDefaultFetcher', 'HTTPResponse',
'HTTPFetcher', 'createHTTPFetcher', 'HTTPFetchingError',
'HTTPError']
import urllib2
import time
import cStringIO
import sys
import openid
import openid.urinorm
# Try to import httplib2 for caching support
# http://bitworking.org/projects/httplib2/
try:
import httplib2
except ImportError:
# httplib2 not available
httplib2 = None
# try to import pycurl, which will let us use CurlHTTPFetcher
try:
import pycurl
except ImportError:
pycurl = None
USER_AGENT = "python-openid/%s (%s)" % (openid.__version__, sys.platform)
MAX_RESPONSE_KB = 1024
def fetch(url, body=None, headers=None):
"""Invoke the fetch method on the default fetcher. Most users
should need only this method.
@raises Exception: any exceptions that may be raised by the default fetcher
"""
fetcher = getDefaultFetcher()
return fetcher.fetch(url, body, headers)
def createHTTPFetcher():
"""Create a default HTTP fetcher instance
prefers Curl to urllib2."""
if pycurl is None:
fetcher = Urllib2Fetcher()
else:
fetcher = CurlHTTPFetcher()
return fetcher
# Contains the currently set HTTP fetcher. If it is set to None, the
# library will call createHTTPFetcher() to set it. Do not access this
# variable outside of this module.
_default_fetcher = None
def getDefaultFetcher():
"""Return the default fetcher instance
if no fetcher has been set, it will create a default fetcher.
@return: the default fetcher
@rtype: HTTPFetcher
"""
global _default_fetcher
if _default_fetcher is None:
setDefaultFetcher(createHTTPFetcher())
return _default_fetcher
def setDefaultFetcher(fetcher, wrap_exceptions=True):
"""Set the default fetcher
@param fetcher: The fetcher to use as the default HTTP fetcher
@type fetcher: HTTPFetcher
@param wrap_exceptions: Whether to wrap exceptions thrown by the
fetcher wil HTTPFetchingError so that they may be caught
easier. By default, exceptions will be wrapped. In general,
unwrapped fetchers are useful for debugging of fetching errors
or if your fetcher raises well-known exceptions that you would
like to catch.
@type wrap_exceptions: bool
"""
global _default_fetcher
if fetcher is None or not wrap_exceptions:
_default_fetcher = fetcher
else:
_default_fetcher = ExceptionWrappingFetcher(fetcher)
def usingCurl():
"""Whether the currently set HTTP fetcher is a Curl HTTP fetcher."""
fetcher = getDefaultFetcher()
if isinstance(fetcher, ExceptionWrappingFetcher):
fetcher = fetcher.fetcher
return isinstance(fetcher, CurlHTTPFetcher)
class HTTPResponse(object):
"""XXX document attributes"""
headers = None
status = None
body = None
final_url = None
def __init__(self, final_url=None, status=None, headers=None, body=None):
self.final_url = final_url
self.status = status
self.headers = headers
self.body = body
def __repr__(self):
return "<%s status %s for %s>" % (self.__class__.__name__,
self.status,
self.final_url)
class HTTPFetcher(object):
"""
This class is the interface for openid HTTP fetchers. This
interface is only important if you need to write a new fetcher for
some reason.
"""
def fetch(self, url, body=None, headers=None):
"""
This performs an HTTP POST or GET, following redirects along
the way. If a body is specified, then the request will be a
POST. Otherwise, it will be a GET.
@param headers: HTTP headers to include with the request
@type headers: {str:str}
@return: An object representing the server's HTTP response. If
there are network or protocol errors, an exception will be
raised. HTTP error responses, like 404 or 500, do not
cause exceptions.
@rtype: L{HTTPResponse}
@raise Exception: Different implementations will raise
different errors based on the underlying HTTP library.
"""
raise NotImplementedError
def _allowedURL(url):
return url.startswith('http://') or url.startswith('https://')
class HTTPFetchingError(Exception):
"""Exception that is wrapped around all exceptions that are raised
by the underlying fetcher when using the ExceptionWrappingFetcher
@ivar why: The exception that caused this exception
"""
def __init__(self, why=None):
Exception.__init__(self, why)
self.why = why
class ExceptionWrappingFetcher(HTTPFetcher):
"""Fetcher that wraps another fetcher, causing all exceptions
@cvar uncaught_exceptions: Exceptions that should be exposed to the
user if they are raised by the fetch call
"""
uncaught_exceptions = (SystemExit, KeyboardInterrupt, MemoryError)
def __init__(self, fetcher):
self.fetcher = fetcher
def fetch(self, *args, **kwargs):
try:
return self.fetcher.fetch(*args, **kwargs)
except self.uncaught_exceptions:
raise
except:
exc_cls, exc_inst = sys.exc_info()[:2]
if exc_inst is None:
# string exceptions
exc_inst = exc_cls
raise HTTPFetchingError(why=exc_inst)
class Urllib2Fetcher(HTTPFetcher):
"""An C{L{HTTPFetcher}} that uses urllib2.
"""
# Parameterized for the benefit of testing frameworks, see
# http://trac.openidenabled.com/trac/ticket/85
urlopen = staticmethod(urllib2.urlopen)
def fetch(self, url, body=None, headers=None):
if not _allowedURL(url):
raise ValueError('Bad URL scheme: %r' % (url,))
if headers is None:
headers = {}
headers.setdefault(
'User-Agent',
"%s Python-urllib/%s" % (USER_AGENT, urllib2.__version__,))
req = urllib2.Request(url, data=body, headers=headers)
try:
f = self.urlopen(req)
try:
return self._makeResponse(f)
finally:
f.close()
except urllib2.HTTPError, why:
try:
return self._makeResponse(why)
finally:
why.close()
def _makeResponse(self, urllib2_response):
resp = HTTPResponse()
resp.body = urllib2_response.read(MAX_RESPONSE_KB * 1024)
resp.final_url = urllib2_response.geturl()
resp.headers = dict(urllib2_response.info().items())
if hasattr(urllib2_response, 'code'):
resp.status = urllib2_response.code
else:
resp.status = 200
return resp
class HTTPError(HTTPFetchingError):
"""
This exception is raised by the C{L{CurlHTTPFetcher}} when it
encounters an exceptional situation fetching a URL.
"""
pass
# XXX: define what we mean by paranoid, and make sure it is.
class CurlHTTPFetcher(HTTPFetcher):
"""
An C{L{HTTPFetcher}} that uses pycurl for fetching.
See U{http://pycurl.sourceforge.net/}.
"""
ALLOWED_TIME = 20 # seconds
def __init__(self):
HTTPFetcher.__init__(self)
if pycurl is None:
raise RuntimeError('Cannot find pycurl library')
def _parseHeaders(self, header_file):
header_file.seek(0)
# Remove the status line from the beginning of the input
unused_http_status_line = header_file.readline().lower ()
while unused_http_status_line.lower().startswith('http/1.1 1'):
unused_http_status_line = header_file.readline()
unused_http_status_line = header_file.readline()
lines = [line.strip() for line in header_file]
# and the blank line from the end
empty_line = lines.pop()
if empty_line:
raise HTTPError("No blank line at end of headers: %r" % (line,))
headers = {}
for line in lines:
try:
name, value = line.split(':', 1)
except ValueError:
raise HTTPError(
"Malformed HTTP header line in response: %r" % (line,))
value = value.strip()
# HTTP headers are case-insensitive
name = name.lower()
headers[name] = value
return headers
def _checkURL(self, url):
# XXX: document that this can be overridden to match desired policy
# XXX: make sure url is well-formed and routeable
return _allowedURL(url)
def fetch(self, url, body=None, headers=None):
stop = int(time.time()) + self.ALLOWED_TIME
off = self.ALLOWED_TIME
if headers is None:
headers = {}
headers.setdefault('User-Agent',
"%s %s" % (USER_AGENT, pycurl.version,))
header_list = []
if headers is not None:
for header_name, header_value in headers.iteritems():
header_list.append('%s: %s' % (header_name, header_value))
c = pycurl.Curl()
try:
c.setopt(pycurl.NOSIGNAL, 1)
if header_list:
c.setopt(pycurl.HTTPHEADER, header_list)
# Presence of a body indicates that we should do a POST
if body is not None:
c.setopt(pycurl.POST, 1)
c.setopt(pycurl.POSTFIELDS, body)
while off > 0:
if not self._checkURL(url):
raise HTTPError("Fetching URL not allowed: %r" % (url,))
data = cStringIO.StringIO()
def write_data(chunk):
if data.tell() > 1024*MAX_RESPONSE_KB:
return 0
else:
return data.write(chunk)
response_header_data = cStringIO.StringIO()
c.setopt(pycurl.WRITEFUNCTION, write_data)
c.setopt(pycurl.HEADERFUNCTION, response_header_data.write)
c.setopt(pycurl.TIMEOUT, off)
c.setopt(pycurl.URL, openid.urinorm.urinorm(url))
c.perform()
response_headers = self._parseHeaders(response_header_data)
code = c.getinfo(pycurl.RESPONSE_CODE)
if code in [301, 302, 303, 307]:
url = response_headers.get('location')
if url is None:
raise HTTPError(
'Redirect (%s) returned without a location' % code)
# Redirects are always GETs
c.setopt(pycurl.POST, 0)
# There is no way to reset POSTFIELDS to empty and
# reuse the connection, but we only use it once.
else:
resp = HTTPResponse()
resp.headers = response_headers
resp.status = code
resp.final_url = url
resp.body = data.getvalue()
return resp
off = stop - int(time.time())
raise HTTPError("Timed out fetching: %r" % (url,))
finally:
c.close()
class HTTPLib2Fetcher(HTTPFetcher):
"""A fetcher that uses C{httplib2} for performing HTTP
requests. This implementation supports HTTP caching.
@see: http://bitworking.org/projects/httplib2/
"""
def __init__(self, cache=None):
"""@param cache: An object suitable for use as an C{httplib2}
cache. If a string is passed, it is assumed to be a
directory name.
"""
if httplib2 is None:
raise RuntimeError('Cannot find httplib2 library. '
'See http://bitworking.org/projects/httplib2/')
super(HTTPLib2Fetcher, self).__init__()
# An instance of the httplib2 object that performs HTTP requests
self.httplib2 = httplib2.Http(cache)
# We want httplib2 to raise exceptions for errors, just like
# the other fetchers.
self.httplib2.force_exception_to_status_code = False
def fetch(self, url, body=None, headers=None):
"""Perform an HTTP request
@raises Exception: Any exception that can be raised by httplib2
@see: C{L{HTTPFetcher.fetch}}
"""
if body:
method = 'POST'
else:
method = 'GET'
if headers is None:
headers = {}
# httplib2 doesn't check to make sure that the URL's scheme is
# 'http' so we do it here.
if not (url.startswith('http://') or url.startswith('https://')):
raise ValueError('URL is not a HTTP URL: %r' % (url,))
httplib2_response, content = self.httplib2.request(
url, method, body=body, headers=headers)
# Translate the httplib2 response to our HTTP response abstraction
# When a 400 is returned, there is no "content-location"
# header set. This seems like a bug to me. I can't think of a
# case where we really care about the final URL when it is an
# error response, but being careful about it can't hurt.
try:
final_url = httplib2_response['content-location']
except KeyError:
# We're assuming that no redirects occurred
assert not httplib2_response.previous
# And this should never happen for a successful response
assert httplib2_response.status != 200
final_url = url
return HTTPResponse(
body=content,
final_url=final_url,
headers=dict(httplib2_response.items()),
status=httplib2_response.status,
)

View File

@@ -25,9 +25,6 @@ ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3eVd6Ccegp1r1mhm7tPnlGUcw0zsAbR2p9hrFZ7RK
#ricky
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDDAeAohiRJ2v/RO7R9GS93TF92Gc9ixK6HM7wlbMdlZ4yYAbeoEX8VpeNaSTfo/Nw3zazr9VpmpHg+H70K8ljQsPgRwcgpetRVpF55M5FYjqM5oM+N94HV3nSGcnWbSIho1R31DaDH2ptxVqgh2m5DG7Bc45w9Bd4wjfdQ8nBrGv93tuH7X/cee4g6GvexLm5nXhAngdEmiyxw5MHuJAvj+54l4wMXRWpeF6XlI2iamW42nLSfRMCFkGNiXvBm8zkfkeH2L7I2cNKXXoP/cPCd3G/teIsI9FDqYpZ6CS0zMkWhlTuh7rlCjc9+nJsLdDLgwhb75skiUOOfimGvCCxWeHuCsSL+KpCu4AgI9UAVgO6xblDlmbQXxlGopep29U/s00W/0qv3Zp8Ks4Za0xHdoIwHiaLM0OYymFaNDd3ZqFG0FN23ZjcGqUmFGhGfUQRDt72+e9HtXlBJ0mUaCX9+e4wFGTVciG1/5CKsLHCaLRf+knsWXrv2zcv9BoZ9SCAK32zCZw05wjcmr7jYDCTLmtC6kEBNaOeE9Qqi2oomo4ji8ybg+Qq+1BwOtJKExvmZaooBZud0qd24HmCU0/0ysw732jGcqexzxsCR0VArd+7LKexOD7KwMW0VUss6fdOWac9gwCLx9FaKYh8mVvcQjKhKGI3aO2sXRUWSbBJw8w== ricky@alpha.rzhou.org
#skvidal
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDjlnCEiFMrKpkiIBjs5IW1+RXDald3aKvTszj0hUw9Gl6w3vt3RAiqTD/XRKcNdP0+pVIK/I4KexKfZzemNZ8UYmZ+a9EK+Gj7OQbJv7TQDeR0zyJ8ZgFXaWoN+CnWXLO2mp9poysUR6CILjaDJt4GDxJaD+bebRu+zxUQSlgrjObhIUTSfwsEJu++zK+fy4+xSEMG7SANEJHd+zOAw6+isLnnbp8qY2fs3reKpc8XPkyJscLU4BQV2cGXwlPUhzPVv/itUUV/uWHeAqoz2i5XG4C0/BXk6D85qkGIyE08Nl3COxn6giivrdTIH6W4dUtBdYgTMZ3RgMHL9ClLpS17 skvidal@opus
#smooge
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAgEAxnzCHH11nDM1m7yvqo6Uanq5vcZjBcs/mr3LccxwJ59ENzSXwUgEQy/P8vby9VKMwsskoaqZcvJdOSZBFhNV970NTPb69OIXPQAl/xhaLwiJOn606fB+/S8WepeuntS0qLiebbEiA9vIQLteZ+bWl1s/didD/sFo3/wItoTGA4GuShUu1AyWJx5Ue7Y34rwGR+kIvDoy2GHUcunn2PjGt4r3v2vpiR8GuK0JRupJAGYbYCiMBDRMkR0cgEyHW6+QQNqMlA6nRJjp94PcUMKaZK6Tc+6h5v8kLLtzuZ6ZupwMMC4X8sh85YcxqoW9DynrvO28pzaMNBHm7qr9LeY9PIhXscSa35GAcGZ7UwPK4aJAAuIzCf8BzazyvUM3Ye7GPCXHxUwY0kdXk+MHMVKFzZDChNp/ovgdhxNrw9Xzcs4yw7XYambN9Bk567cI6/tWcPuYLYD4ZJQP0qSXVzVgFEPss1lDcgd0k4if+pINyxM8eVFZVAqU+BMeDC+6W8HUUPgv6LiyTWs+xTXTuORwBTSF1pOqWB4LjqsCGIiMAc6n/xdALBGUN7qsuKDU6Q7bwPppaxypi4KCvuJsqW+8sDtMUaZ34I5Zo1q7cu03wqnOljUGoAY6IDn3J66F2KlPPyb/q3PDV3WbY/jnH16L29/xUA73nFUW1p+WXutwmSU= ssmoogen@ponyo.int.smoogespace.com

View File

@@ -46,6 +46,22 @@ class="jenkins.model.ProjectNamingStrategy$DefaultProjectNamingStrategy"/>
<label></label>
<nodeProperties/>
</slave>
<slave>
<name>Fedora19</name>
<description></description>
<remoteFS>/mnt/jenkins/</remoteFS>
<numExecutors>2</numExecutors>
<mode>NORMAL</mode>
<retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>
<launcher class="hudson.plugins.sshslaves.SSHLauncher"
plugin="ssh-slaves@0.21">
<host>172.16.5.12</host>
<port>22</port>
<credentialsId>d844d352-af1d-466b-9fc9-cbb19348103a</credentialsId>
</launcher>
<label></label>
<nodeProperties/>
</slave>
<slave>
<name>EL6</name>
<description></description>
@@ -62,6 +78,22 @@ class="jenkins.model.ProjectNamingStrategy$DefaultProjectNamingStrategy"/>
<label></label>
<nodeProperties/>
</slave>
<slave>
<name>Fedora20</name>
<description></description>
<remoteFS>/mnt/jenkins/</remoteFS>
<numExecutors>2</numExecutors>
<mode>NORMAL</mode>
<retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>
<launcher class="hudson.plugins.sshslaves.SSHLauncher"
plugin="ssh-slaves@0.21">
<host>172.16.5.23</host>
<port>22</port>
<credentialsId>950d5dd7-acb2-402a-8670-21f152d04928</credentialsId>
</launcher>
<label></label>
<nodeProperties/>
</slave>
</slaves>
<quietPeriod>5</quietPeriod>
<scmCheckoutRetryCount>0</scmCheckoutRetryCount>

View File

@@ -1,25 +0,0 @@
<?xml version='1.0' encoding='UTF-8'?>
<com.cloudbees.plugins.credentials.SystemCredentialsProvider plugin="credentials@1.4">
<credentials>
<com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey plugin="ssh-credentials@0.3">
<scope>SYSTEM</scope>
<id>d844d352-af1d-466b-9fc9-cbb19348103a</id>
<description>172.16.5.12</description>
<username>jenkins_slave</username>
<passphrase>bEcypl4niEJMODrtoQ7iCw==</passphrase>
<privateKeySource class="com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey$FileOnMasterPrivateKeySource">
<privateKeyFile>/var/tmp/jenkins_master_id_rsa</privateKeyFile>
</privateKeySource>
</com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey>
<com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey plugin="ssh-credentials@0.3">
<scope>SYSTEM</scope>
<id>950d5dd7-acb2-402a-8670-21f152d04928</id>
<description>172.16.5.10</description>
<username>jenkins_slave</username>
<passphrase>bEcypl4niEJMODrtoQ7iCw==</passphrase>
<privateKeySource class="com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey$FileOnMasterPrivateKeySource">
<privateKeyFile>/var/tmp/jenkins_master_id_rsa</privateKeyFile>
</privateKeySource>
</com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey>
</credentials>
</com.cloudbees.plugins.credentials.SystemCredentialsProvider>

View File

@@ -0,0 +1,22 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- plugin requested by user rholy (ticket #4175) -->
<hudson.plugins.warnings.WarningsDescriptor plugin="warnings@4.39">
<groovyParsers>
<hudson.plugins.warnings.GroovyParser>
<name>pyflakes</name>
<regexp>^(.*):([0-9]*):(.*)$</regexp>
<script>import hudson.plugins.warnings.parser.Warning
import hudson.plugins.analysis.util.model.Priority
String fileName = matcher.group(1)
String category = &quot;PyFlakes Error&quot;
String lineNumber = matcher.group(2)
String message = matcher.group(3)
return new Warning(fileName, Integer.parseInt(lineNumber), category, &quot;PyFlakes Parser&quot;, message, Priority.NORMAL);</script>
<example></example>
<linkName>https://pypi.python.org/pypi/pyflakes</linkName>
<trendName>pyflakes errors</trendName>
</hudson.plugins.warnings.GroovyParser>
</groovyParsers>
</hudson.plugins.warnings.WarningsDescriptor>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

132
files/keyserver/css.css Normal file
View File

@@ -0,0 +1,132 @@
* { font-family: helvetica, sans-serif; }
h1,
p {
margin: 0; /* Let's zero those margins */
}
h2 { color: #3c6eb4; margin: 0;}
#container {
/* border: 1px solid #555; /* Nice transition from white background */
width: 600px; /* Should be narrow enough for small screens */
margin: 0 auto; /* Centering */
font-size: 1.1em; /* Font big enough not to need to squint */
line-height: 1.3em;
}
#title {
/* background-color:#e2e5e2; */
padding: 10px;
}
#title h1, #title h2 {
margin-top: 0.3em;
}
#info {
/* background-color:#e2e5e2; */
padding: 5px 10px;
}
#main {
/* background : #FAFBEA; */
padding: 0 10px 10px 10px;
}
#main header {
padding-top: 1em;
}
#main p {
margin: 0.5em 0;
}
#keytext {
width: 100%;
height: 150px;
border: 1px solid #555;
background : #fff;
max-width: 100%;
display: block;
}
ul {
width: 100%;
list-style-type: none;
padding-left: 0;
}
li {
width: 99%;
}
li label {
width: 57%;
display: inline-block;
}
button {
border-radius: 3px;
-moz-border-radius: 3px;
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#ddd));
background: -moz-linear-gradient(top, #fff, #ddd);
border: 1px solid #bbb;
}
#info p {line-height: 1.1em; margin-bottom: 0.3em;}
#bodyform {
margin-top: 20px;
color: #555;
font-weight: normal;
font-size: 16px;
}
#headcontent {
width: 700px;
margin: auto;
display: table;
}
#lefttop {
float: left;
text-align: left;
}
#righttop {
float:right;
text-align: right;
}
hr {
background: #3c6eb4;
height: 8px;
border: 0px;
}
footer {
background: #3c6eb4;
margin: auto;
color: #fff;
}
footer p { width: 500px; margin: auto; text-align: center;}
a {text-decoration: none; color: #B8C9FF; font-weight: bold;}
fieldset {
border: 2px solid #4462C4;
}
legend {
color: #3c6eb4;
}

View File

@@ -0,0 +1,91 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
<head>
<link rel="stylesheet" type="text/css" media="all" href="css.css" />
<title>Fedora Project GPG Key Server</title>
</head>
<body>
<div id=bodyform>
<div id=headcontent>
<div id=lefttop>
<a href="https://fedoraproject.org">
<img src='https://fedoraproject.org/static/images/fedora-logo.png'>
</a>
</div>
<div id=righttop>
<h1>SKS OpenPGP Key server</h1>
<h2>keys.fedoraproject.org</h2>
</div>
</div>
<hr></hr>
<div id="container">
<div id="main" role="main">
<header>
<h2>Extract a key</h2>
</header>
<p>You can find a key by typing in some words that appear in the
userid (name, email, etc.) of the key you're looking for, or
by typing in the keyid in hex format ("0x&#8230;")</p>
<form id="lookup" action="/pks/lookup" method="get">
<fieldset checked="true"> <legend>Search for a public key</legend>
<ul>
<li> <label for="search">String</label> <input id="search"
name="search" placeholder="0xDEADBEEF" required="" autofocus=""
type="text"> </li>
<li> <label for="fingerprint">Show PGP Fingerprints</label>
<input id="fingerprint" name="fingerprint" type="checkbox">
</li>
<li> <label for="hash">Show SKS full-key hashes</label> <input
id="hash" name="hash" type="checkbox"> </li>
<li> <label for="matching">Get regular index of matching
keys</label> <input id="matching" name="op" value="index"
type="radio"> </li>
<li> <label for="verbose">Get verbose index of matching
keys</label> <input id="verbose" name="op" value="vindex"
checked="checked" type="radio"> </li>
<li> <label for="asciiarmored">Retrieve ascii-armored
keys</label> <input id="asciiarmored" name="op" value="get"
type="radio"> </li>
<li> <label for="fullkey">Retrieve keys by full-key hash</label>
<input id="fullkey" name="op" value="hget" type="radio">
</li>
</ul>
<button type="reset">Reset</button> <button type="submit">Search
for a key</button> </fieldset>
</form>
<header>
<h2>Submit a key</h2>
</header>
<p>You can submit a key by simply pasting in the ASCII-armored
version of your key and clicking on submit.</p>
<form id="add" action="/pks/add" method="post">
<fieldset> <textarea id="keytext" name="keytext" rows="5" cols="30"></textarea>
<button type="reset">Reset</button> <button checked="true"
type="submit">Submit this key</button></fieldset>
</form>
</div>
<!-- end of #main -->
</div>
<!--! end of #container -->
<footer id="info">
<p><a href="https://bitbucket.org/skskeyserver/sks-keyserver/wiki/Home">SKS</a> is
a new <a href="http://www.openpgp.org/">OpenPGP</a>
keyserver. The main innovation of SKS is that it includes a
highly-efficient reconciliation algorithm for keeping the
keyservers synchronized.</p>
<p style="text-align: center;"><a href="/pks/lookup?op=stats">SKS statistics</a></p>
</footer>
</div>
</body>
</html>

View File

@@ -0,0 +1,42 @@
a.sks.srv.scientia.net 11370 # root@sks.srv.scientia.net
key.adeti.org 11370 # Marco RODRIGUES <marco@adeti.org> 0x7CE697FC
key.ip6.li 11370 # Christian Felsing <hostmaster@ip6.li> 0x5386E2A0
keys2.kfwebs.net 11370 # 0x0B7F8B60E3EDFAE3
#keys.christensenplace.us 11370 # Eric Christensen <eric@christensenplace.us> 0x024BB3D1
keyserver.cns.vt.edu 11370 # Phil Benchoff <benchoff@vt.edu> <keymaster@cns.vt.edu>
#keyserver.computer42.org 11370 # H.-Dirk Schmitt <dirk@computer42.org> 0x6A017B17
keyserver.dacr.hu 11370 # David Horvath <dacr@dacr.hu> 0x00CBC81A
keyserver.gingerbear.net 11370 # John P. Clizbe <John@Gingerbear.net> 0xD6569825
keyserver.kim-minh.com 11370 # Kim Minh Kaplan<kaplan+sks@kim-minh.com> 0xAF1E829C
keyserver.kjsl.org 11370 # Javier Henderson <javier@kjsl.org> 0x9BF88EE5
keyserver.nausch.org 11370 # Michael Nausch <michael@nausch.org> 0x2384C849
key-server.nl 11370 # Wijnand Modderman-Lenstra <maze@key-server.nl> 0x294DF221
keyserver.saol.no-ip.com 11370 # Peter <peter@saol.no-ip.com> 0x39E97290
keyserver.secretresearchfacility.com 11370 # Stephan Seitz <s.seitz@secretresearchfacility.com> 0xAB83B1C3
keyserver.serviz.fr 11370 # robert <sks(at)serviz(pt)fr> 0xEF333C7E
keyserver.sincer.us 11370 # Petru Ghita <petrutz@venaver.info> 0x7CF29D04
keyserver.skoopsmedia.net 11370 # unknown
#keyservers.org 11370 # Rob Hansen <rjh@sixdemonbag.org>
keyserver.stack.nl 11370 # Johan van Selst <johans@stack.nl> 0xD3AE8D3A
keyserver.ut.mephi.ru 11370 # Dmitry Yu Okunev <dyokunev@ut.mephi.ru> 0x8E30679C, pks team <pks@ut.mephi.ru>
keys.exosphere.de 11370 # Christoph Gebhardt <chris@exosphere.de> 0xE1C2E92C
keys.jhcloos.com 11370 # James Cloos <cloos@jhcloos.com> 0xED7DAEA6
keys.niif.hu 11370 # Gabor Kiss <kissg@ssg.ki.iif.hu>
keys.thoma.cc 11370 # Maximilian Thoma <keys@thoma.cc> 0xB480AC4B
keys.wuschelpuschel.org 11370 # 0x017D1C3D Peter Kornherr <peter@wuschelpuschel.org>
openpgp1.claruscomms.net 11370 # unknown
pgp.circl.lu 11370 # CIRCL - info@circl.lu - 0x22BD4CD5
#pgp.codelabs.ru 11370 # Eygene Ryabinkin <rea@codelabs.ru> 0x8152ECFB
pgp.jjim.de 11370 # Joel Garske <admin@pgp.jjim.de> 0xA921EB20
pgpkeys.mallos.nl 11370 # Arnold Schekkerman <arnold@mallos.nl> 0xB66BBBAA
pgp.megagod.net 11370 # Kullawat Chaowanawatee (0xC19EAE3A)
pgp.rediris.es 11370 # Francisco.monserrat <francisco.monserrat@rediris.es> 0xD3A42C61
#pki.colliertech.org 11370 # C.J. Adams-Collier <cjac@uw.edu> 0x8E562765BA27A83C
ranger.ky9k.org 11370 # Brian D Heaton <pgp-keymaster@ky9k.org> 0x9A016118
sks.ecks.ca 11370 # Eric Benoit <eric@ecks.ca> 0x69E65D2C
sks.es.net 11370 # keymaster@es.net
sks.karotte.org 11370 # Sebastian Wiesinger <sebastian@karotte.org> 0x93A0B9CE
sks.keyservers.net 11370 # John P. Clizbe <John@Gingerbear.net> 0xD6569825
sks-peer.spodhuis.org 11370 # Phil Pennock <keyserver@spodhuis.org> 0x3903637F
sks.pkqs.net 11370 # Stephan Beyer <s-beyer@gmx.net> 0xFCC5040F
zimmermann.mayfirst.org 11370 # Daniel Kahn Gillmor <dkg@fifthhorseman.net> 0xCCD2ED94D21739E9

83
files/keyserver/sks.conf Normal file
View File

@@ -0,0 +1,83 @@
ServerName keys.fedoraproject.org
Listen 80.239.156.219:11371
NameVirtualHost *:443
<ifModule !mod_proxy.c>
LoadModule proxy_module modules/mod_proxy.so
</IfModule>
<IfModule !mod_proxy_http.c>
LoadModule proxy_http_module modules/mod_proxy_http.so
</IfModule>
<IfModule !mod_proxy_balancer.c>
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
</IfModule>
<IfModule !mod_headers.c>
LoadModule headers_module modules/mod_headers.so
</IfModule>
<IfModule !mod_authz_host.c>
LoadModule authz_host_module modules/mod_authz_host.so
</IfModule>
<IfModule !mod_log_config.c>
LoadModule log_config_module modules/mod_log_config.so
</IfModule>
<IfModule !mod_env.c>
LoadModule env_module modules/mod_env.so
</IfModule>
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<VirtualHost *:80>
ServerAdmin sysadmin-keys-members@fedoraproject.org
ServerName keys.fedoraproject.org
ProxyPass / http://127.0.0.1:11371/
ProxyPassReverse / http://127.0.0.1:11371/
SetEnv proxy-nokeepalive 1
ProxyVia Full
</VirtualHost>
<VirtualHost *:443>
ServerAdmin sysadmin-keys-members@fedoraproject.org
ServerName keys.fedoraproject.org
ServerAlias keys01.fedoraproject.org
SSLEngine on
SSLCertificateFile /etc/pki/tls/wildcard-2013.fedoraproject.org.cert
SSLCertificateChainFile /etc/pki/tls/wildcard-2013.fedoraproject.org.intermediate.cert
SSLCertificateKeyFile /etc/pki/tls/wildcard-2013.fedoraproject.org.key
ProxyPass / http://localhost:11371/
ProxyPassReverse / http://localhost:11371/
SetEnv proxy-nokeepalive 1
ProxyVia Full
</VirtualHost>
<VirtualHost *:443>
ServerAdmin sysadmin-keys-members@fedoraproject.org
ServerName pool.sks-keyservers.net
ServerAlias sks-keyservers.net
ServerAlias *.sks-keyservers.net
SSLEngine on
SSLCertificateFile /etc/pki/tls/keys_fedoraproject_org.crt.pem
SSLCertificateKeyFile /etc/pki/tls/keys_fedoraproject_org.key
ProxyPass / http://localhost:11371/
ProxyPassReverse / http://localhost:11371/
SetEnv proxy-nokeepalive 1
ProxyVia Full
</VirtualHost>
<VirtualHost *:11371>
ServerAdmin sysadmin-keys-members@fedoraproject.org
ServerName keys.fedoraproject.org
ProxyPass / http://127.0.0.1:11371/
ProxyPassReverse / http://127.0.0.1:11371/
SetEnv proxy-nokeepalive 1
ProxyVia Full
</VirtualHost>

13
files/keyserver/sksconf Normal file
View File

@@ -0,0 +1,13 @@
basedir: /srv/sks
#debuglevel: 10
#debug:
hostname: keys.fedoraproject.org
hkp_address: 127.0.0.1
hkp_port: 11371
recon_port: 11370
#gossip_interval: 1440
stat_hour: 00
initial_stat:
membership_reload_interval: 1
disable_mailsync:
server_contact: 0x167B4A54236BBEAA37DCCD92ED14D5E7110810E9

224
files/keyserver/ssl.conf Normal file
View File

@@ -0,0 +1,224 @@
#
# This is the Apache server configuration file providing SSL support.
# It contains the configuration directives to instruct the server how to
# serve pages over an https connection. For detailing information about these
# directives see <URL:http://httpd.apache.org/docs/2.2/mod/mod_ssl.html>
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
LoadModule ssl_module modules/mod_ssl.so
#
# When we also provide SSL we have to listen to the
# the HTTPS port in addition.
#
Listen 443
##
## SSL Global Context
##
## All SSL configuration in this context applies both to
## the main server and all SSL-enabled virtual hosts.
##
# Pass Phrase Dialog:
# Configure the pass phrase gathering process.
# The filtering dialog program (`builtin' is a internal
# terminal dialog) has to provide the pass phrase on stdout.
SSLPassPhraseDialog builtin
# Inter-Process Session Cache:
# Configure the SSL Session Cache: First the mechanism
# to use and second the expiring timeout (in seconds).
SSLSessionCache shmcb:/var/cache/mod_ssl/scache(512000)
SSLSessionCacheTimeout 300
# Semaphore:
# Configure the path to the mutual exclusion semaphore the
# SSL engine uses internally for inter-process synchronization.
SSLMutex default
# Pseudo Random Number Generator (PRNG):
# Configure one or more sources to seed the PRNG of the
# SSL library. The seed data should be of good random quality.
# WARNING! On some platforms /dev/random blocks if not enough entropy
# is available. This means you then cannot use the /dev/random device
# because it would lead to very long connection times (as long as
# it requires to make more entropy available). But usually those
# platforms additionally provide a /dev/urandom device which doesn't
# block. So, if available, use this one instead. Read the mod_ssl User
# Manual for more details.
SSLRandomSeed startup file:/dev/urandom 256
SSLRandomSeed connect builtin
#SSLRandomSeed startup file:/dev/random 512
#SSLRandomSeed connect file:/dev/random 512
#SSLRandomSeed connect file:/dev/urandom 512
#
# Use "SSLCryptoDevice" to enable any supported hardware
# accelerators. Use "openssl engine -v" to list supported
# engine names. NOTE: If you enable an accelerator and the
# server does not start, consult the error logs and ensure
# your accelerator is functioning properly.
#
SSLCryptoDevice builtin
#SSLCryptoDevice ubsec
##
## SSL Virtual Host Context
##
<VirtualHost _default_:443>
# General setup for the virtual host, inherited from global configuration
#DocumentRoot "/var/www/html"
# ProxyPass / http://localhost:11371/
# ProxyPassReverse / http://localhost:11371/
#ServerName www.example.com:443
# Use separate log files for the SSL virtual host; note that LogLevel
# is not inherited from httpd.conf.
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
LogLevel warn
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
# SSL Protocol support:
# List the enable protocol levels with which clients will be able to
# connect. Disable SSLv2 access by default:
SSLProtocol all -SSLv2
# SSL Cipher Suite:
# List the ciphers that the client is permitted to negotiate.
# See the mod_ssl documentation for a complete list.
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
# Server Certificate:
# Point SSLCertificateFile at a PEM encoded certificate. If
# the certificate is encrypted, then you will be prompted for a
# pass phrase. Note that a kill -HUP will prompt again. A new
# certificate can be generated using the genkey(1) command.
SSLCertificateFile /etc/pki/tls/keys_fedoraproject_org.crt.pem
# Server Private Key:
# If the key is not combined with the certificate, use this
# directive to point at the key file. Keep in mind that if
# you've both a RSA and a DSA private key you can configure
# both in parallel (to also allow the use of DSA ciphers, etc.)
SSLCertificateKeyFile /etc/pki/tls/keys_fedoraproject_org.key
# Server Certificate Chain:
# Point SSLCertificateChainFile at a file containing the
# concatenation of PEM encoded CA certificates which form the
# certificate chain for the server certificate. Alternatively
# the referenced file can be the same as SSLCertificateFile
# when the CA certificates are directly appended to the server
# certificate for convinience.
#SSLCertificateChainFile /etc/pki/tls/certs/server-chain.crt
# Certificate Authority (CA):
# Set the CA certificate verification path where to find CA
# certificates for client authentication or alternatively one
# huge file containing all of them (file must be PEM encoded)
#SSLCACertificateFile /etc/pki/tls/certs/ca-bundle.crt
# Client Authentication (Type):
# Client certificate verification type and depth. Types are
# none, optional, require and optional_no_ca. Depth is a
# number which specifies how deeply to verify the certificate
# issuer chain before deciding the certificate is not valid.
#SSLVerifyClient require
#SSLVerifyDepth 10
# Access Control:
# With SSLRequire you can do per-directory access control based
# on arbitrary complex boolean expressions containing server
# variable checks and other lookup directives. The syntax is a
# mixture between C and Perl. See the mod_ssl documentation
# for more details.
#<Location />
#SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/ \
# and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd." \
# and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"} \
# and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5 \
# and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 ) \
# or %{REMOTE_ADDR} =~ m/^192\.76\.162\.[0-9]+$/
#</Location>
# SSL Engine Options:
# Set various options for the SSL engine.
# o FakeBasicAuth:
# Translate the client X.509 into a Basic Authorisation. This means that
# the standard Auth/DBMAuth methods can be used for access control. The
# user name is the `one line' version of the client's X.509 certificate.
# Note that no password is obtained from the user. Every entry in the user
# file needs this password: `xxj31ZMTZzkVA'.
# o ExportCertData:
# This exports two additional environment variables: SSL_CLIENT_CERT and
# SSL_SERVER_CERT. These contain the PEM-encoded certificates of the
# server (always existing) and the client (only existing when client
# authentication is used). This can be used to import the certificates
# into CGI scripts.
# o StdEnvVars:
# This exports the standard SSL/TLS related `SSL_*' environment variables.
# Per default this exportation is switched off for performance reasons,
# because the extraction step is an expensive operation and is usually
# useless for serving static content. So one usually enables the
# exportation for CGI and SSI requests only.
# o StrictRequire:
# This denies access when "SSLRequireSSL" or "SSLRequire" applied even
# under a "Satisfy any" situation, i.e. when it applies access is denied
# and no other module can change it.
# o OptRenegotiate:
# This enables optimized SSL connection renegotiation handling when SSL
# directives are used in per-directory context.
#SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/var/www/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
# SSL Protocol Adjustments:
# The safe and default but still SSL/TLS standard compliant shutdown
# approach is that mod_ssl sends the close notify alert but doesn't wait for
# the close notify alert from client. When you need a different shutdown
# approach you can use one of the following variables:
# o ssl-unclean-shutdown:
# This forces an unclean shutdown when the connection is closed, i.e. no
# SSL close notify alert is send or allowed to received. This violates
# the SSL/TLS standard but is needed for some brain-dead browsers. Use
# this when you receive I/O errors because of the standard approach where
# mod_ssl sends the close notify alert.
# o ssl-accurate-shutdown:
# This forces an accurate shutdown when the connection is closed, i.e. a
# SSL close notify alert is send and mod_ssl waits for the close notify
# alert of the client. This is 100% SSL/TLS standard compliant, but in
# practice often causes hanging connections with brain-dead browsers. Use
# this only for browsers where you know that their SSL implementation
# works correctly.
# Notice: Most problems of broken clients are also related to the HTTP
# keep-alive facility, so you usually additionally want to disable
# keep-alive for those clients, too. Use variable "nokeepalive" for this.
# Similarly, one has to force some clients to use HTTP/1.0 to workaround
# their broken HTTP/1.1 implementation. Use variables "downgrade-1.0" and
# "force-response-1.0" for this.
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
# Per-Server Logging:
# The home of a custom SSL log file. Use this when you want a
# compact non-error SSL logfile on a virtual host basis.
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>

View File

@@ -1 +0,0 @@
10.5.88.0/24 dev eth1

View File

@@ -1,96 +0,0 @@
#
# Aliases in this file will NOT be expanded in the header from
# Mail, but WILL be visible over networks or from /bin/mail.
#
# >>>>>>>>>> The program "newaliases" must be run after
# >> NOTE >> this file is updated for any changes to
# >>>>>>>>>> show through to sendmail.
#
# Basic system aliases -- these MUST be present.
mailer-daemon: postmaster
postmaster: root
# General redirections for pseudo accounts.
bin: root
daemon: root
adm: root
lp: root
sync: root
shutdown: root
halt: root
mail: root
news: root
uucp: root
operator: root
games: root
gopher: root
ftp: root
nobody: root
radiusd: root
nut: root
dbus: root
vcsa: root
canna: root
wnn: root
rpm: root
nscd: root
pcap: root
apache: root
webalizer: root
dovecot: root
fax: root
quagga: root
radvd: root
pvm: root
amandabackup: root
privoxy: root
ident: root
named: root
xfs: root
gdm: root
mailnull: root
postgres: root
sshd: root
smmsp: root
postfix: root
netdump: root
ldap: root
squid: root
ntp: root
mysql: root
desktop: root
rpcuser: root
rpc: root
nfsnobody: root
ingres: root
system: root
toor: root
manager: root
dumper: root
abuse: root
newsadm: news
newsadmin: news
usenet: news
ftpadm: ftp
ftpadmin: ftp
ftp-adm: ftp
ftp-admin: ftp
www: webmaster
webmaster: root
noc: root
security: root
hostmaster: root
info: postmaster
marketing: postmaster
sales: postmaster
support: postmaster
# trap decode to catch security attacks
decode: root
# Person who should get root's mail
root: abompard@fedoraproject.org

View File

@@ -1,27 +0,0 @@
#Alias /robots.txt /etc/hyperkitty/sites/default/static/robots.txt
#Alias /favicon.ico /etc/hyperkitty/sites/default/static/favicon.ico
Alias /hyperkitty/static /var/lib/hyperkitty/sites/default/static
#ErrorLog /var/log/httpd/hyperkitty_error.log
#CustomLog /var/log/httpd/hyperkitty_access.log combined
WSGIScriptAlias /hyperkitty /etc/hyperkitty/sites/default/wsgi.py
WSGIDaemonProcess hyperkitty threads=25 python-path=/etc/hyperkitty/sites/default
# If using VirtualEnv
#WSGIDaemonProcess hyperkitty threads=25 python-path=/etc/hyperkitty/sites/default:/path/to/your/venv/lib/python2.X/site-packages
WSGISocketPrefix run/wsgi
<Directory "/etc/hyperkitty/sites/default">
<Files wsgi.py>
Order deny,allow
Allow from all
Require all granted
</Files>
WSGIProcessGroup hyperkitty
</Directory>
<Directory "/var/lib/hyperkitty/sites/default/static">
Order deny,allow
Allow from all
Require all granted
</Directory>

View File

@@ -1,3 +0,0 @@
[general]
base_url: http://lists-dev.cloud.fedoraproject.org/
django_settings: /etc/hyperkitty/sites/default/settings.py

View File

@@ -1,10 +0,0 @@
/var/log/hyperkitty/*.log {
missingok
notifempty
sharedscripts
delaycompress
su root apache
postrotate
/sbin/service httpd reload > /dev/null 2>/dev/null || true
endscript
}

View File

@@ -1,96 +0,0 @@
#-*- coding: utf-8 -*-
"""
Django local settings for the hyperkitty project.
"""
DEBUG = True
TEMPLATE_DEBUG = DEBUG
ADMINS = ()
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'hyperkitty',
'USER': 'hyperkitty',
'PASSWORD': '{{ lists_dev_hk_db_pass }}',
'HOST': 'localhost',
'PORT': '',
}
}
# URL prefix for static files.
# Example: "http://media.lawrence.com/static/"
STATIC_URL = '/hyperkitty/static/'
# Add Fedora to the authentication backends
AUTHENTICATION_BACKENDS = (
'social_auth.backends.browserid.BrowserIDBackend',
'hyperkitty.lib.fedora.FedoraBackend',
'social_auth.backends.google.GoogleBackend',
'social_auth.backends.yahoo.YahooBackend',
#'social_auth.backends.OpenIDBackend',
'django.contrib.auth.backends.ModelBackend',
)
# Use the email address as the username (add associate_by_email).
SOCIAL_AUTH_PIPELINE = (
'social_auth.backends.pipeline.social.social_auth_user',
'social_auth.backends.pipeline.associate.associate_by_email',
'social_auth.backends.pipeline.user.get_username',
'social_auth.backends.pipeline.user.create_user',
'social_auth.backends.pipeline.social.associate_user',
'social_auth.backends.pipeline.social.load_extra_data',
'social_auth.backends.pipeline.user.update_user_details'
)
# A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to
# the site admins on every HTTP 500 error.
# See http://docs.djangoproject.com/en/dev/topics/logging for
# more details on how to customize your logging configuration.
LOGGING = {
'version': 1,
'disable_existing_loggers': False,
'handlers': {
'mail_admins': {
'level': 'ERROR',
'class': 'django.utils.log.AdminEmailHandler'
},
'file':{
'level': 'DEBUG',
#'class': 'logging.handlers.RotatingFileHandler',
'class': 'logging.FileHandler',
'filename': '/var/log/hyperkitty/hyperkitty.log',
'formatter': 'verbose',
},
},
'loggers': {
'django.request': {
'handlers': ['file'],
'level': 'ERROR',
'propagate': True,
},
'django': {
'handlers': ['file'],
'level': 'ERROR',
'propagate': True,
},
'hyperkitty': {
'handlers': ['file'],
'level': 'DEBUG',
'propagate': True,
},
},
'formatters': {
'verbose': {
'format': '%(levelname)s %(asctime)s %(module)s %(process)d %(thread)d %(message)s'
},
'simple': {
'format': '%(levelname)s %(message)s'
},
},
}
APP_NAME = 'Fedora list archives'
KITTYSTORE_URL = 'postgres://kittystore:{{ lists_dev_ks_db_pass }}@localhost/kittystore'
USE_MOCKUPS = False

View File

@@ -1,37 +0,0 @@
# -*- coding: utf-8 -*-
# Copyright (C) 1998-2012 by the Free Software Foundation, Inc.
#
# This file is part of HyperKitty.
#
# HyperKitty is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
# HyperKitty is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along with
# HyperKitty. If not, see <http://www.gnu.org/licenses/>.
import hyperkitty
from django.conf.urls.defaults import *
from django.conf import settings
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
# Import mailman urls and set urlpatterns if you want to hook
# mailman_django into an existing django site.
# Otherwise set ROOT_URLCONF in settings.py to
# `mailman_django.urls`.
# from mailman_django import urls as mailman_urls
urlpatterns = patterns('',
url(r'^$', 'hyperkitty.views.pages.index'),
url(r'', include('hyperkitty.urls')),
)

View File

@@ -1,25 +0,0 @@
# This is the absolute bare minimum base configuration file. User supplied
# configurations are pushed onto this.
[mailman]
site_owner: root@localhost
# Set the paths to be Fedora-compliant
layout: fhs
[paths.fhs]
var_dir: /srv/persist/mailman
bin_dir: /usr/libexec/mailman
lock_dir: /run/lock/mailman
pid_file: /run/mailman/master.pid
[database]
class: mailman.database.postgresql.PostgreSQLDatabase
url: postgres://mailman:{{ lists_dev_mm_db_pass }}@localhost/mailman
[archiver.hyperkitty]
class: hyperkitty.archiver.Archiver
enable: yes
configuration: /etc/mailman.d/hyperkitty.cfg
#[archiver.prototype]
#enable: yes

Some files were not shown because too many files have changed in this diff Show More