From: Martin Zobel-Helas Date: Wed, 21 Feb 2018 21:32:39 +0000 (+0100) Subject: we do not need to backup clamav-unofficial-sigs files X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=949583ad389b3b5938bd5eb8ed879ace5d71cd65;p=mirror%2Fdsa-puppet.git we do not need to backup clamav-unofficial-sigs files Signed-off-by: Martin Zobel-Helas --- diff --git a/modules/clamav/manifests/init.pp b/modules/clamav/manifests/init.pp index 591d398b9..2126e8ef7 100644 --- a/modules/clamav/manifests/init.pp +++ b/modules/clamav/manifests/init.pp @@ -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'] + } }