diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-22 18:35:18 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-22 18:35:18 +0000 |
commit | cdd2802c15b198059de2fd8af420d943b88dfd79 (patch) | |
tree | b03954c694c0ab006a4dcf70b6376c2ffd4acff4 /modules/sympa/manifests/list | |
parent | 56b5b68523ac7ec5966c6eda8b19ba5f0aaf9377 (diff) | |
download | puppet-cdd2802c15b198059de2fd8af420d943b88dfd79.tar puppet-cdd2802c15b198059de2fd8af420d943b88dfd79.tar.gz puppet-cdd2802c15b198059de2fd8af420d943b88dfd79.tar.bz2 puppet-cdd2802c15b198059de2fd8af420d943b88dfd79.tar.xz puppet-cdd2802c15b198059de2fd8af420d943b88dfd79.zip |
rename sympa::public_restricted_list to sympa::list::public_restricted
Diffstat (limited to 'modules/sympa/manifests/list')
-rw-r--r-- | modules/sympa/manifests/list/public_restricted.pp | 17 |
1 files changed, 17 insertions, 0 deletions
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, + } +} |