diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-04-07 15:42:31 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-04-07 15:42:31 -0300 |
commit | 2af99be9d538b91130438473697b0e1d8279bee9 (patch) | |
tree | 74d1199df697c8f32f96a7cfb8311ffd2aec9c52 /manifests/sympa.pp | |
parent | ac8298c65fff6dabfd3c45df571679284c61f81a (diff) | |
download | puppet-mail-2af99be9d538b91130438473697b0e1d8279bee9.tar.gz puppet-mail-2af99be9d538b91130438473697b0e1d8279bee9.tar.bz2 |
Using transport_regexp and virtual_regexp management from postfix module
Diffstat (limited to 'manifests/sympa.pp')
-rw-r--r-- | manifests/sympa.pp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/sympa.pp b/manifests/sympa.pp index 3674f03..0fbc871 100644 --- a/manifests/sympa.pp +++ b/manifests/sympa.pp @@ -1,4 +1,4 @@ -class mail::sympa inherits mail::regexps { +class mail::sympa { # Sympa subsystems include mail::web::sympa include mail::packages::sympa @@ -83,11 +83,11 @@ class mail::sympa inherits mail::regexps { source => "puppet:///modules/mail/sympa/logrotate", } - File["/etc/postfix/transport_regexp"] { + postfix::transport_regexp { 'sympa_transport_regexp': content => template('mail/postfix/sympa/transport_regexp.erb'), } - File["/etc/postfix/virtual_regexp"] { + postfix::virtual_regexp { 'sympa_virtual_regexp': content => template('mail/postfix/sympa/virtual_regexp.erb'), } @@ -163,11 +163,11 @@ class mail::sympa::disabled inherits mail::sympa { enable => false, } - File["/etc/postfix/transport_regexp"] { + Postfix::Transport_regexp['sympa_transport_regexp'] { content => undef, } - File["/etc/postfix/virtual_regexp"] { + Postfix::Virtual_regexp['sympa_virtual_regexp'] { content => undef, } |