From cdd2802c15b198059de2fd8af420d943b88dfd79 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Mon, 22 Apr 2013 18:35:18 +0000 Subject: rename sympa::public_restricted_list to sympa::list::public_restricted --- modules/sympa/manifests/list/public_restricted.pp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 modules/sympa/manifests/list/public_restricted.pp (limited to 'modules/sympa/manifests/list') diff --git a/modules/sympa/manifests/list/public_restricted.pp b/modules/sympa/manifests/list/public_restricted.pp new file mode 100644 index 00000000..cdbab509 --- /dev/null +++ b/modules/sympa/manifests/list/public_restricted.pp @@ -0,0 +1,17 @@ +# list where only people from the ldap_group can post, and where +# they are subscribed by default, but anybody else can subscribe +# to read and receive messages +define sympa::list::public_restricted($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, + } +} -- cgit v1.2.1