diff options
Diffstat (limited to 'manifests/sympa.pp')
-rw-r--r-- | manifests/sympa.pp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/manifests/sympa.pp b/manifests/sympa.pp index e526f7a..a9c45d3 100644 --- a/manifests/sympa.pp +++ b/manifests/sympa.pp @@ -103,3 +103,32 @@ class mail::sympa inherits mail::regexps { notify => Exec["newaliases"], } } + +class mail::sympa::disabled inherits mail::sympa { + include mail::web::sympa::disabled + + Service["sympa"] { + ensure => stopped, + enable => false, + } + + File["/etc/postfix/transport_regexp"] { + content => undef, + } + + File["/etc/postfix/virtual_regexp"] { + content => undef, + } + + Mailalias["sympa"] { + ensure => absent, + } + + Mailalias["sympa-request"] { + ensure => absent, + } + + Mailalias["sympa-owner"] { + ensure => absent, + } +} |