X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fclamav%2Fmanifests%2Finit.pp;h=0be36abb98e0652544d0d95b19780a2ffd8289af;hb=a8a2c4473311f88784e5edac68ea4fe0074b0c90;hp=f32805d98b94724c4059291a19c5aeff0a902ba6;hpb=c4718c4edcce0add4fea04db5eb2fc4bf808c8cf;p=mirror%2Fdsa-puppet.git diff --git a/modules/clamav/manifests/init.pp b/modules/clamav/manifests/init.pp index f32805d98..0be36abb9 100644 --- a/modules/clamav/manifests/init.pp +++ b/modules/clamav/manifests/init.pp @@ -2,29 +2,5 @@ class clamav { package { "clamav-daemon": ensure => installed; "clamav-freshclam": 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, - } }