summaryrefslogtreecommitdiff
path: root/manifests/clamav.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-08-20 18:24:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-08-20 18:24:00 -0300
commitf7172c4e3a9a06f90394f6335c39ded084b7205a (patch)
treefe47bd5b5d984982503c2328a4945716801debf0 /manifests/clamav.pp
parent2604a52ac7b26f4f1b9ebb045d66824fcfcf5c18 (diff)
downloadpuppet-mail-f7172c4e3a9a06f90394f6335c39ded084b7205a.tar.gz
puppet-mail-f7172c4e3a9a06f90394f6335c39ded084b7205a.tar.bz2
Managing services clamd and freshclam
Diffstat (limited to 'manifests/clamav.pp')
-rw-r--r--manifests/clamav.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/clamav.pp b/manifests/clamav.pp
index b2f8ef4..33ae0e3 100644
--- a/manifests/clamav.pp
+++ b/manifests/clamav.pp
@@ -9,4 +9,16 @@ class mail::clamav {
groups => [ 'amavis' ],
require => Group['clamav', 'amavis'],
}
+
+ service { "clamav-daemon":
+ enable => true,
+ ensure => running,
+ pattern => "/usr/sbin/clamd",
+ }
+
+ service { "clamav-freshclam":
+ enable => true,
+ ensure => running,
+ pattern => "/usr/bin/freshclam",
+ }
}