aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/manifests/public_restricted_list.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sympa/manifests/public_restricted_list.pp')
-rw-r--r--modules/sympa/manifests/public_restricted_list.pp17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/sympa/manifests/public_restricted_list.pp b/modules/sympa/manifests/public_restricted_list.pp
new file mode 100644
index 00000000..fec079f7
--- /dev/null
+++ b/modules/sympa/manifests/public_restricted_list.pp
@@ -0,0 +1,17 @@
+# list where only people from the ldap_group can post, ad where
+# they are subscribed by default, but anybody else can subscribe
+# to read and receive messages
+define sympa::public_restricted_list( $subject,
+ $subscriber_ldap_group,
+ $language = 'en',
+ $topics = false) {
+ list { $name:
+ subject => $subject,
+ profile => '',
+ topics => $topics,
+ language => $language,
+ subscriber_ldap_group => $subscriber_ldap_group,
+ sender_ldap_group => $subscriber_ldap_group,
+ subscription_open => true,
+ }
+}