diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-04-07 21:01:11 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-04-07 21:01:11 -0300 |
commit | ea04126f62796c6a8d21aeda4a9c2db4b11ae659 (patch) | |
tree | 3d1606e872e0364785c3c082b69b303479e56808 /manifests | |
parent | 15a98e434860aa5211447c6b0f4dbabed287c65c (diff) | |
download | puppet-mail-ea04126f62796c6a8d21aeda4a9c2db4b11ae659.tar.gz puppet-mail-ea04126f62796c6a8d21aeda4a9c2db4b11ae659.tar.bz2 |
Adding mail::mlmmj::list
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/mlmmj.pp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/mlmmj.pp b/manifests/mlmmj.pp index 52b9bd0..a8fc9ff 100644 --- a/manifests/mlmmj.pp +++ b/manifests/mlmmj.pp @@ -30,10 +30,17 @@ class mail::mlmmj { #} postfix::transport_regexp_snippet { 'mlmmj_transport_regexp': - content => template('mail/postfix/mlmmj/transport_regexp.erb'), + content => '', } postfix::virtual_regexp_snippet { 'mlmmj_virtual_regexp': content => template('mail/postfix/mlmmj/virtual_regexp.erb'), } + + define list($ensure = 'present') { + postfix::transport_regexp_snippet { "mlmmj_transport_regexp-$name": + content => "/^($name).*$/ mlmmj:$name", + ensure => $ensure, + } + } } |