aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sympa')
-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