From b73108267788e2e95c8ef435a6d4262eb3940dcd Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Wed, 21 Feb 2018 22:05:21 +0100 Subject: [PATCH] push empty /var/lib/varnish/.nobackup Signed-off-by: Martin Zobel-Helas --- modules/varnish/manifests/init.pp | 6 ++++++ 1 file changed, 6 insertions(+) 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', -- 2.20.1