summaryrefslogtreecommitdiff
path: root/manifests/sympa/disabled.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-22 14:56:59 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-22 14:56:59 -0200
commitbeb9ced0191a9c6804332bd741ba30d4eee0040a (patch)
treee9513f0f4d5f77f1a2702b1a91bb65233ed88951 /manifests/sympa/disabled.pp
parent0dce0e69ff64b8c98c0854c33be6886d433dedfb (diff)
downloadpuppet-mail-beb9ced0191a9c6804332bd741ba30d4eee0040a.tar.gz
puppet-mail-beb9ced0191a9c6804332bd741ba30d4eee0040a.tar.bz2
Major refactor
Diffstat (limited to 'manifests/sympa/disabled.pp')
-rw-r--r--manifests/sympa/disabled.pp56
1 files changed, 56 insertions, 0 deletions
diff --git a/manifests/sympa/disabled.pp b/manifests/sympa/disabled.pp
new file mode 100644
index 0000000..b81ce98
--- /dev/null
+++ b/manifests/sympa/disabled.pp
@@ -0,0 +1,56 @@
+class mail::sympa::disabled inherits mail::sympa {
+ include mail::web::sympa::disabled
+
+ Service["sympa"] {
+ ensure => stopped,
+ enable => false,
+ }
+
+ Cron["sympa-restart"] {
+ ensure => absent,
+ }
+
+ Postfix::Transport_regexp_snippet['sympa_transport_regexp'] {
+ content => undef,
+ }
+
+ Postfix::Virtual_regexp_snippet['sympa_virtual_regexp'] {
+ content => undef,
+ }
+
+ Mailalias["sympa"] {
+ ensure => absent,
+ }
+
+ Mailalias["sympa-request"] {
+ ensure => absent,
+ }
+
+ Mailalias["sympa-owner"] {
+ ensure => absent,
+ }
+
+ Mailalias["abuse-feedback-report"] {
+ ensure => absent,
+ }
+
+ Mailalias["bounce+*"] {
+ ensure => absent,
+ }
+
+ Mailalias["listserv"] {
+ ensure => absent,
+ }
+
+ Mailalias["listserv-request"] {
+ ensure => absent,
+ }
+
+ Mailalias["listserv-owner"] {
+ ensure => absent,
+ }
+
+ Mailalias["majordomo"] {
+ ensure => absent,
+ }
+}