push empty /var/lib/varnish/.nobackup
[mirror/dsa-puppet.git] / modules / varnish / manifests / init.pp
index 4d10c66..7561869 100644 (file)
@@ -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',