diff options
author | Michael Scherer <misc@mageia.org> | 2010-12-13 23:55:08 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2010-12-13 23:55:08 +0000 |
commit | 75314e8b58fe51ee88ee36354d40d73991474169 (patch) | |
tree | 69a6328928cedc226412a97b171b1762a15ae572 /modules | |
parent | 51caef25aeaf97a8a8412bb397ddde03fa8d4cff (diff) | |
download | puppet-75314e8b58fe51ee88ee36354d40d73991474169.tar puppet-75314e8b58fe51ee88ee36354d40d73991474169.tar.gz puppet-75314e8b58fe51ee88ee36354d40d73991474169.tar.bz2 puppet-75314e8b58fe51ee88ee36354d40d73991474169.tar.xz puppet-75314e8b58fe51ee88ee36354d40d73991474169.zip |
create the scenari for subscription ( web only )
Diffstat (limited to 'modules')
-rw-r--r-- | modules/sympa/files/scenari/open_web_only_notify | 6 | ||||
-rw-r--r-- | modules/sympa/manifests/init.pp | 11 |
2 files changed, 15 insertions, 2 deletions
diff --git a/modules/sympa/files/scenari/open_web_only_notify b/modules/sympa/files/scenari/open_web_only_notify new file mode 100644 index 00000000..9c0b1dbc --- /dev/null +++ b/modules/sympa/files/scenari/open_web_only_notify @@ -0,0 +1,6 @@ +title.gettext anyone on the web, notification is sent to list owner + +# do not notify if it is just an update +is_subscriber([listname],[sender]) smtp,smime,md5 -> do_it +true() md5 -> do_it,notify + diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp index ab818dd0..825df0a6 100644 --- a/modules/sympa/manifests/init.pp +++ b/modules/sympa/manifests/init.pp @@ -85,6 +85,15 @@ class sympa { mode => 755, } + file { ["/etc/sympa/scenari/subscribe.open_web_only_notify", + "/etc/sympa/scenari/unsubscribe.open_web_only_notify"]: + ensure => present, + owner => root, + group => root, + mode => 755, + source => "puppet:///modules/sympa/scenari/open_web_only_notify", + } + define ldap_search_filter { file { "/etc/sympa/search_filters/ldap-$name.ldap": ensure => present, @@ -206,7 +215,6 @@ class sympa { reply_to => $reply_to, sender_ldap_group => $sender_ldap_group, } - } @@ -282,6 +290,5 @@ class sympa { public_archive => false, } } - } |