Freeze break: add rsyncd to s390 hub

Kevin Fenzi kevin at scrye.com
Wed Aug 5 16:13:25 UTC 2015


This is needed so the content can be synced over to secondary01 and
made live to end users. 

+1s?

diff --git a/playbooks/groups/koji-hub.yml b/playbooks/groups/koji-hub.yml
index aaccbca..be1843c 100644
--- a/playbooks/groups/koji-hub.yml
+++ b/playbooks/groups/koji-hub.yml
@@ -41,6 +41,7 @@
   - apache
   - fedmsg/base
   - koji_hub
+  - { role: rsyncd, when: inventory_hostname.startswith('s390') }
   - { role: koji_builder, when: env == "staging" or inventory_hostname.startswith('s390') }
   - { role: nfs/server, when: env == "staging" }
   - { role: keepalived, when: env == "production" and
     inventory_hostname.startswith('koji') }

and a new
roles/rsyncd/files/rsyncd.conf.s390-koji01.qa.fedoraproject.org file:

pid file = /var/run/rsyncd.pid             
syslog facility = daemon                   
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.bz2 *.iso
use chroot = false                                          
transfer logging = false                                    
exclude = .snapshot/ .~tmp~/ /.private/ /.private/** **/.nfs*


# For distributing applications
[log]
comment = Server Logs
path = /var/log
uid = root
gid = root
read only = yes
hosts allow = 10.5.126.13 192.168.1.59

[fedora-s390]
comment = Fedora s390 content
path = /mnt/koji/tree/
uid = root
gid = root
read only = yes
hosts allow = 10.5.126.27
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/infrastructure/attachments/20150805/6c6fa4ab/attachment.sig>


More information about the infrastructure mailing list