projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove samosa from nrpe allowed hosts, add draghi
[mirror/dsa-puppet.git]
/
modules
/
clamav
/
manifests
/
init.pp
diff --git
a/modules/clamav/manifests/init.pp
b/modules/clamav/manifests/init.pp
index
d8c35a3
..
fa7e17e
100644
(file)
--- a/
modules/clamav/manifests/init.pp
+++ b/
modules/clamav/manifests/init.pp
@@
-1,30
+1,17
@@
class clamav {
class clamav {
- package { "clamav-daemon": ensure => latest;
- "clamav-freshclam": ensure => latest;
+ package { "clamav-daemon": ensure => installed;
+ "clamav-freshclam": ensure => installed;
+ "clamav-unofficial-sigs": ensure => installed;
}
}
-
file {
file {
- "/etc/clamav/clamd.conf":
- source => "puppet:///clamav/clamd.conf",
- require => Package["clamav-daemon"],
- notify => Exec["clamav-daemon restart"]
+ "/etc/clamav-unofficial-sigs.dsa.conf":
+ require => Package["clamav-unofficial-sigs"],
+ source => [ "puppet:///clamav/clamav-unofficial-sigs.dsa.conf" ]
;
;
- }
-
- file {
- "/etc/clamav/freshclam.conf":
- source => "puppet:///clamav/freshclam.conf",
- require => Package["clamav-freshclam"],
- notify => Exec["clamav-freshclam restart"]
+ "/etc/clamav-unofficial-sigs.conf":
+ require => Package["clamav-unofficial-sigs"],
+ source => [ "puppet:///clamav/clamav-unofficial-sigs.conf" ]
;
}
;
}
- 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,
- }
}
}