From: Peter Palfrader Date: Tue, 10 Sep 2019 08:10:36 +0000 (+0200) Subject: retire rsync snapshot service for lw* X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=56c943e4c7ff84a893ddf47efb2af3ad8977cff9;p=mirror%2Fdsa-puppet.git retire rsync snapshot service for lw* --- diff --git a/modules/roles/manifests/snapshot.pp b/modules/roles/manifests/snapshot.pp index 0c2cb6bfc..6b9fca4a6 100644 --- a/modules/roles/manifests/snapshot.pp +++ b/modules/roles/manifests/snapshot.pp @@ -1,8 +1,3 @@ class roles::snapshot { - rsync::site { 'snapshot-farm': - content => template('roles/snapshot/rsyncd.conf.erb'), - ensure => absent, - } - ensure_packages ( ["build-essential", "python-dev", "libssl-dev"], { ensure => 'installed' }) } diff --git a/modules/roles/templates/snapshot/rsyncd.conf.erb b/modules/roles/templates/snapshot/rsyncd.conf.erb deleted file mode 100644 index 67564c93a..000000000 --- a/modules/roles/templates/snapshot/rsyncd.conf.erb +++ /dev/null @@ -1,32 +0,0 @@ -uid = nobody -gid = nogroup -syslog facility = daemon -socket options = SO_KEEPALIVE -reverse lookup = false -timeout = 7200 -log file = /var/log/rsyncd/rsyncd.log - -[snapshot-farm-1] - path = /storage/snapshot-farm-1 - read only = true - list = false -[snapshot-farm-2] - path = /storage/snapshot-farm-2 - read only = true - list = false -[snapshot-farm-3] - path = /storage/snapshot-farm-3 - read only = true - list = false -[snapshot-farm-4] - 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