From: Stephen Gran Date: Sun, 29 Dec 2013 18:46:06 +0000 (+0000) Subject: Revert "Revert "stop backing up clamav files"" X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=cdce50b094ce870d1129a994a3e1aa854da7c71c;p=mirror%2Fdsa-puppet.git Revert "Revert "stop backing up clamav files"" This reverts commit e256acb16ebf1953ebe88eafab92e359adf4558b. --- diff --git a/modules/clamav/manifests/init.pp b/modules/clamav/manifests/init.pp index 3484dcae6..61234abaf 100644 --- a/modules/clamav/manifests/init.pp +++ b/modules/clamav/manifests/init.pp @@ -38,6 +38,10 @@ class clamav { ensure => absent, notify => Service['clamav-daemon'] } + file { '/var/lib/clamav/.nobackup': + content => '', + require => Package['clamav-base'] + } file { '/etc/clamav-unofficial-sigs.dsa.conf': require => Package['clamav-unofficial-sigs'], source => [ 'puppet:///modules/clamav/clamav-unofficial-sigs.dsa.conf' ]