diff options
-rw-r--r-- | manifests/sympa.pp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/manifests/sympa.pp b/manifests/sympa.pp index 044cc0a..5b042d5 100644 --- a/manifests/sympa.pp +++ b/manifests/sympa.pp @@ -105,7 +105,7 @@ class mail::sympa { user => root, hour => "*/3", minute => "0", - ensure => absent, + ensure => present, require => Service['sympa'], } @@ -185,8 +185,12 @@ class mail::sympa::disabled inherits mail::sympa { include mail::web::sympa::disabled Service["sympa"] { - ensure => stopped, - enable => false, + ensure => stopped, + enable => false, + } + + Cron["sympa-restart"] { + ensure => absent, } Postfix::Transport_regexp_snippet['sympa_transport_regexp'] { |