X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fclamav%2Fmanifests%2Finit.pp;h=47c4109d7d2d6491af236913876338fbdf16a707;hb=107a00c9b97e8ba32c823c510bbbe8b747290963;hp=c2bd0d10ca896543f9b58db543f10f4eeb2dd919;hpb=d29ac285630ce6574f36c14b08e4de57f74a71f0;p=mirror%2Fdsa-puppet.git diff --git a/modules/clamav/manifests/init.pp b/modules/clamav/manifests/init.pp index c2bd0d10c..47c4109d7 100644 --- a/modules/clamav/manifests/init.pp +++ b/modules/clamav/manifests/init.pp @@ -1,21 +1,22 @@ class clamav { - package { - "clamav-daemon": ensure => installed; - "clamav-freshclam": ensure => installed; - "clamav-unofficial-sigs": ensure => installed; - } - file { - "/etc/clamav-unofficial-sigs.dsa.conf": - require => Package["clamav-unofficial-sigs"], - source => [ "puppet:///modules/clamav/clamav-unofficial-sigs.dsa.conf" ] - ; - "/etc/clamav-unofficial-sigs.conf": - require => Package["clamav-unofficial-sigs"], - source => [ "puppet:///modules/clamav/clamav-unofficial-sigs.conf" ] - ; - } -} + package { [ + 'clamav-daemon', + 'clamav-freshclam', + 'clamav-unofficial-sigs' + ]: + ensure => installed + } + + file { '/var/lib/clamav/mbl.ndb': + ensure => absent + } + file { '/etc/clamav-unofficial-sigs.dsa.conf': + require => Package['clamav-unofficial-sigs'], + source => [ 'puppet:///modules/clamav/clamav-unofficial-sigs.dsa.conf' ] + } + file { '/etc/clamav-unofficial-sigs.conf': + require => Package['clamav-unofficial-sigs'], + source => [ 'puppet:///modules/clamav/clamav-unofficial-sigs.conf' ] + } -# vim:set et: -# vim:set sts=4 ts=4: -# vim:set shiftwidth=4: +}