we do not need to backup clamav-unofficial-sigs files
authorMartin Zobel-Helas <zobel@debian.org>
Wed, 21 Feb 2018 21:32:39 +0000 (22:32 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Wed, 21 Feb 2018 21:32:39 +0000 (22:32 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
modules/clamav/manifests/init.pp

index 591d398..2126e8e 100644 (file)
@@ -60,5 +60,11 @@ class clamav {
                require => Package['clamav-unofficial-sigs'],
                source  => [ 'puppet:///modules/clamav/clamav-unofficial-sigs.conf' ]
        }
+       file { '/var/cache/clamav-unofficial-sigs/.nobackup':
+               owner   => clamav,
+               mode    => '0644',
+               content => '',
+               require => Package['clamav-unofficial-sigs']
+       }
 
 }