aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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,
+ }
+}