diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-08-20 18:24:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-08-20 18:24:00 -0300 |
commit | f7172c4e3a9a06f90394f6335c39ded084b7205a (patch) | |
tree | fe47bd5b5d984982503c2328a4945716801debf0 | |
parent | 2604a52ac7b26f4f1b9ebb045d66824fcfcf5c18 (diff) | |
download | puppet-mail-f7172c4e3a9a06f90394f6335c39ded084b7205a.tar.gz puppet-mail-f7172c4e3a9a06f90394f6335c39ded084b7205a.tar.bz2 |
Managing services clamd and freshclam
-rw-r--r-- | manifests/clamav.pp | 12 |
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", + } } |