aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-03-22 15:17:53 +0000
committerMichael Scherer <misc@mageia.org>2011-03-22 15:17:53 +0000
commitf217efda088ac1b7782d0c2fec889485d8aabc93 (patch)
tree3a39fea713d9b8f6872040ec5bd23e47cc31863b /modules
parentf13a57d0246e5767382deb99e65e29f61f2edba9 (diff)
downloadpuppet-f217efda088ac1b7782d0c2fec889485d8aabc93.tar
puppet-f217efda088ac1b7782d0c2fec889485d8aabc93.tar.gz
puppet-f217efda088ac1b7782d0c2fec889485d8aabc93.tar.bz2
puppet-f217efda088ac1b7782d0c2fec889485d8aabc93.tar.xz
puppet-f217efda088ac1b7782d0c2fec889485d8aabc93.zip
- add a option to be able to let people subscribe a closed
list, to make the subscription automatic for a ldap group, and let others join the fun
Diffstat (limited to 'modules')
-rw-r--r--modules/sympa/manifests/init.pp3
-rw-r--r--modules/sympa/templates/config2
2 files changed, 3 insertions, 2 deletions
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp
index a0849f97..aa520405 100644
--- a/modules/sympa/manifests/init.pp
+++ b/modules/sympa/manifests/init.pp
@@ -183,7 +183,8 @@ class sympa {
$sender_email = false,
$sender_ldap_group = false,
$subscriber_ldap_group = false,
- $public_archive = true ) {
+ $public_archive = true,
+ $subscription_open = false ) {
include sympa::variable
diff --git a/modules/sympa/templates/config b/modules/sympa/templates/config
index b915a986..a80938a4 100644
--- a/modules/sympa/templates/config
+++ b/modules/sympa/templates/config
@@ -6,7 +6,7 @@ visibility noconceal
lang <%= language %>
-<% if subscriber_ldap_group %>
+<% if subscriber_ldap_group and not subscription_open %>
# TODO check scenari
subscribe closed