X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=modules%2Fclamav%2Fmanifests%2Finit.pp;h=c2bd0d10ca896543f9b58db543f10f4eeb2dd919;hb=d29ac285630ce6574f36c14b08e4de57f74a71f0;hp=f32805d98b94724c4059291a19c5aeff0a902ba6;hpb=c4718c4edcce0add4fea04db5eb2fc4bf808c8cf;p=dsa-puppet.git diff --git a/modules/clamav/manifests/init.pp b/modules/clamav/manifests/init.pp index f32805d9..c2bd0d10 100644 --- a/modules/clamav/manifests/init.pp +++ b/modules/clamav/manifests/init.pp @@ -1,30 +1,21 @@ class clamav { - package { "clamav-daemon": ensure => installed; - "clamav-freshclam": ensure => installed; + package { + "clamav-daemon": ensure => installed; + "clamav-freshclam": ensure => installed; + "clamav-unofficial-sigs": ensure => installed; } - - file { - "/etc/clamav/clamd.conf": - source => "puppet:///clamav/clamd.conf", - require => Package["clamav-daemon"], - notify => Exec["clamav-daemon restart"] - ; - } - file { - "/etc/clamav/freshclam.conf": - source => "puppet:///clamav/freshclam.conf", - require => Package["clamav-freshclam"], - notify => Exec["clamav-freshclam restart"] - ; - } - exec { "clamav-daemon restart": - path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", - refreshonly => true, - } - exec { "clamav-freshclam restart": - path => "/etc/init.d:/usr/bin:/usr/sbin:/bin:/sbin", - refreshonly => true, + "/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" ] + ; } } +# vim:set et: +# vim:set sts=4 ts=4: +# vim:set shiftwidth=4: