aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/manifests/private_list.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-19 14:34:50 +0000
committerMichael Scherer <misc@mageia.org>2012-03-19 14:34:50 +0000
commita89526dd2a197d43064d727e81beb88dd8f2293b (patch)
treec5b977cd617370c30514b96bfb9478029e578dda /modules/sympa/manifests/private_list.pp
parentea6b9a616f023e0fb0ce7e196be7fbe820d6d36c (diff)
downloadpuppet-a89526dd2a197d43064d727e81beb88dd8f2293b.tar
puppet-a89526dd2a197d43064d727e81beb88dd8f2293b.tar.gz
puppet-a89526dd2a197d43064d727e81beb88dd8f2293b.tar.bz2
puppet-a89526dd2a197d43064d727e81beb88dd8f2293b.tar.xz
puppet-a89526dd2a197d43064d727e81beb88dd8f2293b.zip
split sympa::private_list from init.pp
Diffstat (limited to 'modules/sympa/manifests/private_list.pp')
-rw-r--r--modules/sympa/manifests/private_list.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/modules/sympa/manifests/private_list.pp b/modules/sympa/manifests/private_list.pp
new file mode 100644
index 00000000..50495e57
--- /dev/null
+++ b/modules/sympa/manifests/private_list.pp
@@ -0,0 +1,15 @@
+# list with private archive, restricted to member of $ldap_group
+define sympa::private_list( $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,
+ public_archive => false,
+ }
+}