From a89526dd2a197d43064d727e81beb88dd8f2293b Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 19 Mar 2012 14:34:50 +0000 Subject: split sympa::private_list from init.pp --- modules/sympa/manifests/init.pp | 13 ------------- modules/sympa/manifests/private_list.pp | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 13 deletions(-) create mode 100644 modules/sympa/manifests/private_list.pp 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, + } +} -- cgit v1.2.1