aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/sympa/manifests/init.pp13
-rw-r--r--modules/sympa/manifests/private_list.pp15
2 files changed, 15 insertions, 13 deletions
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp
index 14f3bc90..01f1de50 100644
--- a/modules/sympa/manifests/init.pp
+++ b/modules/sympa/manifests/init.pp
@@ -269,18 +269,5 @@ class sympa {
}
}
- # list with private archive, restricted to member of $ldap_group
- define private_list($subject, $subscriber_ldap_group, $language ='en', $topics = false) {
- list{ $name:
- subject => $subject,
- profile => "",
- language => $language,
- topics => $topics,
- subscriber_ldap_group => $subscriber_ldap_group,
- sender_ldap_group => $subscriber_ldap_group,
- public_archive => false,
- }
- }
-
}
diff --git a/modules/sympa/manifests/private_list.pp b/modules/sympa/manifests/private_list.pp
new file mode 100644
index 00000000..50495e57
--- /dev/null
+++ b/modules/sympa/manifests/private_list.pp
@@ -0,0 +1,15 @@
+# list with private archive, restricted to member of $ldap_group
+define sympa::private_list( $subject,
+ $subscriber_ldap_group,
+ $language ='en',
+ $topics = false) {
+ list { $name:
+ subject => $subject,
+ profile => '',
+ language => $language,
+ topics => $topics,
+ subscriber_ldap_group => $subscriber_ldap_group,
+ sender_ldap_group => $subscriber_ldap_group,
+ public_archive => false,
+ }
+}