From dd7752715ac996b2783727efacf103a96ca43d3e Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 9 Feb 2018 10:19:26 +0100 Subject: [PATCH] rsync on lw09,lw10 --- modules/roles/manifests/init.pp | 2 +- modules/roles/templates/snapshot/rsyncd.conf.erb | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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 -- 2.20.1