From: Martin Zobel-Helas Date: Wed, 21 Feb 2018 21:05:21 +0000 (+0100) Subject: push empty /var/lib/varnish/.nobackup X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=b73108267788e2e95c8ef435a6d4262eb3940dcd;p=mirror%2Fdsa-puppet.git push empty /var/lib/varnish/.nobackup Signed-off-by: Martin Zobel-Helas --- diff --git a/modules/varnish/manifests/init.pp b/modules/varnish/manifests/init.pp index 4d10c6619..7561869e6 100644 --- a/modules/varnish/manifests/init.pp +++ b/modules/varnish/manifests/init.pp @@ -30,6 +30,12 @@ class varnish { notify => Service['varnish'], mode => '0444', } + file { '/var/lib/varnish/.nobackup': + ensure => present, + content => "", + require => Package['varnish'], + mode => '0444', + } file { '/etc/logrotate.d/varnish': source => 'puppet:///modules/varnish/varnish.logrotate',