diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-08-29 18:23:24 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-08-29 18:23:24 +0000 |
commit | 5f4c808029b0ca217fd378c7147a60dc358dc958 (patch) | |
tree | 8ab5ca8164ed0c2921277aca3b17b83ee4afa4cd /modules | |
parent | a714aa1597afb82f14726ecebadff245f635f4de (diff) | |
download | puppet-5f4c808029b0ca217fd378c7147a60dc358dc958.tar puppet-5f4c808029b0ca217fd378c7147a60dc358dc958.tar.gz puppet-5f4c808029b0ca217fd378c7147a60dc358dc958.tar.bz2 puppet-5f4c808029b0ca217fd378c7147a60dc358dc958.tar.xz puppet-5f4c808029b0ca217fd378c7147a60dc358dc958.zip |
add option to define custom_subject
Diffstat (limited to 'modules')
-rw-r--r-- | modules/sympa/manifests/init.pp | 3 | ||||
-rw-r--r-- | modules/sympa/templates/list.xml | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp index 4cd9192f..24f0e4e5 100644 --- a/modules/sympa/manifests/init.pp +++ b/modules/sympa/manifests/init.pp @@ -185,7 +185,8 @@ class sympa { $sender_ldap_group = false, $subscriber_ldap_group = false, $public_archive = true, - $subscription_open = false ) { + $subscription_open = false, + $custom_subject = '') { include sympa::variable $ldap_password = extlookup("sympa_ldap",'x') diff --git a/modules/sympa/templates/list.xml b/modules/sympa/templates/list.xml index 1d83125e..5be2580f 100644 --- a/modules/sympa/templates/list.xml +++ b/modules/sympa/templates/list.xml @@ -12,4 +12,7 @@ <editor_include> <source>mga-ml_moderators</source> </editor_include> +<%- if custom_subject != '' -%> + <custom_subject><%= custom_subject %></custom_subject> +<%- end -%> </list> |