aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-03-22 15:17:55 +0000
committerMichael Scherer <misc@mageia.org>2011-03-22 15:17:55 +0000
commit3ecd835287b6d85102ae71c4331b5db24a2c1ad4 (patch)
treec4ebbcc6eda94b874f8537475d531ca30dff5047
parentf217efda088ac1b7782d0c2fec889485d8aabc93 (diff)
downloadpuppet-3ecd835287b6d85102ae71c4331b5db24a2c1ad4.tar
puppet-3ecd835287b6d85102ae71c4331b5db24a2c1ad4.tar.gz
puppet-3ecd835287b6d85102ae71c4331b5db24a2c1ad4.tar.bz2
puppet-3ecd835287b6d85102ae71c4331b5db24a2c1ad4.tar.xz
puppet-3ecd835287b6d85102ae71c4331b5db24a2c1ad4.zip
- add the public_restricted_list, as asked by rda
-rw-r--r--modules/sympa/manifests/init.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp
index aa520405..58d6baaf 100644
--- a/modules/sympa/manifests/init.pp
+++ b/modules/sympa/manifests/init.pp
@@ -290,6 +290,21 @@ class sympa {
}
}
+ # list where only people from the ldap_group can post, ad where they are subscribe
+ # by default, but anybody else can subscribe to read and receive messages
+ define 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,
+ }
+ }
+
+
# same as restricted list, but anybody can post
define restricted_list_open($subject, $subscriber_ldap_group, $language = 'en', $topics = false) {
list{ $name: