summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/amavisd.pp8
1 files changed, 2 insertions, 6 deletions
diff --git a/manifests/amavisd.pp b/manifests/amavisd.pp
index 75b4b1c..4bf17f7 100644
--- a/manifests/amavisd.pp
+++ b/manifests/amavisd.pp
@@ -1,14 +1,10 @@
class mail::amavisd {
- service { "amavisd":
+ service { "amavis":
ensure => running,
+ pattern => 'amavisd',
require => [ Package['amavisd-new'], Service['clamav-daemon', 'spamassassin'] ],
}
- service { "freshclam":
- ensure => running,
- require => Package['clamav-freshclam'],
- }
-
file { "/etc/amavis/conf.d/05-domain_id":
ensure => present,
owner => root,