From: Silvio Rhatto Date: Fri, 20 Aug 2010 21:24:00 +0000 (-0300) Subject: Managing services clamd and freshclam X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f7172c4e3a9a06f90394f6335c39ded084b7205a;p=puppet-mail.git Managing services clamd and freshclam --- 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", + } }