diff options
author | Michael Scherer <misc@mageia.org> | 2012-03-19 14:34:50 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-03-19 14:34:50 +0000 |
commit | a89526dd2a197d43064d727e81beb88dd8f2293b (patch) | |
tree | c5b977cd617370c30514b96bfb9478029e578dda /modules/sympa | |
parent | ea6b9a616f023e0fb0ce7e196be7fbe820d6d36c (diff) | |
download | puppet-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')
-rw-r--r-- | modules/sympa/manifests/init.pp | 13 | ||||
-rw-r--r-- | modules/sympa/manifests/private_list.pp | 15 |
2 files changed, 15 insertions, 13 deletions
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp index 14f3bc90..01f1de50 100644 --- a/modules/sympa/manifests/init.pp +++ b/modules/sympa/manifests/init.pp @@ -269,18 +269,5 @@ class sympa { } } - # list with private archive, restricted to member of $ldap_group - define 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, - } - } - } 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, + } +} |