From: Peter Palfrader Date: Fri, 9 Feb 2018 09:19:26 +0000 (+0100) Subject: rsync on lw09,lw10 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=dd7752715ac996b2783727efacf103a96ca43d3e;p=mirror%2Fdsa-puppet.git rsync on lw09,lw10 --- diff --git a/modules/roles/manifests/init.pp b/modules/roles/manifests/init.pp index 195d991e8..e447ebb19 100644 --- a/modules/roles/manifests/init.pp +++ b/modules/roles/manifests/init.pp @@ -277,7 +277,7 @@ class roles { include roles::dgit_git } - if $::hostname in [lw01, lw02, lw03, lw04] { + if $::hostname in [lw01, lw02, lw03, lw04, lw09, lw10] { include roles::snapshot } diff --git a/modules/roles/templates/snapshot/rsyncd.conf.erb b/modules/roles/templates/snapshot/rsyncd.conf.erb index 97501eb56..67564c93a 100644 --- a/modules/roles/templates/snapshot/rsyncd.conf.erb +++ b/modules/roles/templates/snapshot/rsyncd.conf.erb @@ -22,3 +22,11 @@ log file = /var/log/rsyncd/rsyncd.log path = /storage/snapshot-farm-4 read only = true list = false +[snapshot-farm-09] + path = /storage/snapshot-farm-09 + read only = true + list = false +[snapshot-farm-10] + path = /storage/snapshot-farm-10 + read only = true + list = false