summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/sympa.pp9
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/sympa.pp b/manifests/sympa.pp
index 18e8c9a..1e76936 100644
--- a/manifests/sympa.pp
+++ b/manifests/sympa.pp
@@ -45,6 +45,13 @@ class mail::sympa inherits mail::regexps {
require => Group['sympa'],
}
+ service { "sympa":
+ enable => true,
+ ensure => running,
+ hasstatus => false,
+ pattern => '/usr/lib/sympa/bin/sympa.pl',
+ }
+
file { "/etc/sympa":
ensure => directory,
owner => postfix,
@@ -59,7 +66,7 @@ class mail::sympa inherits mail::regexps {
mode => 0640,
content => template('mail/sympa/sympa.conf.erb'),
require => [ File['/etc/sympa'], User['sympa'] ],
- notify => Service['apache'],
+ notify => Service['apache', 'sympa'],
}
File["/etc/postfix/transport_regexp"] {