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 +++++++++++++++++ modules/sympa/manifests/public_restricted_list.pp | 17 ----------------- 2 files changed, 17 insertions(+), 17 deletions(-) create mode 100644 modules/sympa/manifests/list/public_restricted.pp delete mode 100644 modules/sympa/manifests/public_restricted_list.pp (limited to 'modules/sympa') 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, + } +} diff --git a/modules/sympa/manifests/public_restricted_list.pp b/modules/sympa/manifests/public_restricted_list.pp deleted file mode 100644 index a7613a76..00000000 --- a/modules/sympa/manifests/public_restricted_list.pp +++ /dev/null @@ -1,17 +0,0 @@ -# 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::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, - } -} -- cgit v1.2.1