Add rsyncd role to the MM crawlers

To provide access to the crawler logs on the mm frontend the crawlers
are now exporting their logs over rsync.
This commit is contained in:
Adrian Reber 2015-06-22 19:22:26 +00:00
parent 34e5052ee4
commit a5bc52c240
3 changed files with 20 additions and 0 deletions

View file

@ -18,3 +18,6 @@ csi_relationship: |
* what kinds of processes run here
* what other services they depend on
* what other services depend on it
rsyncd_conf: "rsyncd.conf.crawler"
tcp_ports: [ 873 ]

View file

@ -71,6 +71,7 @@
roles:
- mirrormanager/crawler
- rsyncd
handlers:
- include: "{{ handlers }}/restart_services.yml"

View file

@ -0,0 +1,16 @@
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 crawler logs to the mm frontend
[crawler]
comment = Crawler Logs
path = /var/log/mirrormanager/crawler
uid = mirrormanager
gid = mirrormanager
read only = yes
hosts allow = 10.5.126.182