aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/manifests/restricted_list_open.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sympa/manifests/restricted_list_open.pp')
-rw-r--r--modules/sympa/manifests/restricted_list_open.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/sympa/manifests/restricted_list_open.pp b/modules/sympa/manifests/restricted_list_open.pp
new file mode 100644
index 00000000..1730b970
--- /dev/null
+++ b/modules/sympa/manifests/restricted_list_open.pp
@@ -0,0 +1,14 @@
+# same as restricted list, but anybody can post
+define sympa::restricted_list_open( $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,
+ }
+}