aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-19 14:34:46 +0000
committerMichael Scherer <misc@mageia.org>2012-03-19 14:34:46 +0000
commitefd4f2555e9f32c30886580bdbc69ecaaf2378bd (patch)
tree19f627d8d96adfe33de3c6da8df8abc9f9af72f4 /modules/sympa
parent208a5e1569dca7bcf3b0469f349f2e2bf9768913 (diff)
downloadpuppet-efd4f2555e9f32c30886580bdbc69ecaaf2378bd.tar
puppet-efd4f2555e9f32c30886580bdbc69ecaaf2378bd.tar.gz
puppet-efd4f2555e9f32c30886580bdbc69ecaaf2378bd.tar.bz2
puppet-efd4f2555e9f32c30886580bdbc69ecaaf2378bd.tar.xz
puppet-efd4f2555e9f32c30886580bdbc69ecaaf2378bd.zip
split private_list_email in a separate file
Diffstat (limited to 'modules/sympa')
-rw-r--r--modules/sympa/manifests/init.pp13
-rw-r--r--modules/sympa/manifests/private_list_email.pp17
2 files changed, 17 insertions, 13 deletions
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp
index 51a76694..995cf7ab 100644
--- a/modules/sympa/manifests/init.pp
+++ b/modules/sympa/manifests/init.pp
@@ -296,18 +296,5 @@ class sympa {
}
}
- # same as private_list, but post are restricted to $email
- # ( scripting )
- define private_list_email($subject, $subscriber_ldap_group, $sender_email, $language ='en', $topics = false) {
- list{ $name:
- subject => $subject,
- profile => "",
- language => $language,
- topics => $topics,
- subscriber_ldap_group => $subscriber_ldap_group,
- sender_email => $sender_email,
- public_archive => false,
- }
- }
}
diff --git a/modules/sympa/manifests/private_list_email.pp b/modules/sympa/manifests/private_list_email.pp
new file mode 100644
index 00000000..34c3bd7b
--- /dev/null
+++ b/modules/sympa/manifests/private_list_email.pp
@@ -0,0 +1,17 @@
+# same as private_list, but post are restricted to $email
+# ( scripting )
+define sympa::private_list_email($subject,
+ $subscriber_ldap_group,
+ $sender_email,
+ $language ='en',
+ $topics = false) {
+ list { $name:
+ subject => $subject,
+ profile => '',
+ language => $language,
+ topics => $topics,
+ subscriber_ldap_group => $subscriber_ldap_group,
+ sender_email => $sender_email,
+ public_archive => false,
+ }
+}