aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/manifests/public_list.pp
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-03-19 16:20:59 +0000
committerMichael Scherer <misc@mageia.org>2012-03-19 16:20:59 +0000
commitd41e3cbf65d55d23734b40411616270d004c6ea7 (patch)
tree74dbf5cd0722a44144fc63428f2ed9dae7dce4ee /modules/sympa/manifests/public_list.pp
parenta89526dd2a197d43064d727e81beb88dd8f2293b (diff)
downloadpuppet-d41e3cbf65d55d23734b40411616270d004c6ea7.tar
puppet-d41e3cbf65d55d23734b40411616270d004c6ea7.tar.gz
puppet-d41e3cbf65d55d23734b40411616270d004c6ea7.tar.bz2
puppet-d41e3cbf65d55d23734b40411616270d004c6ea7.tar.xz
puppet-d41e3cbf65d55d23734b40411616270d004c6ea7.zip
split all others type of list
Diffstat (limited to 'modules/sympa/manifests/public_list.pp')
-rw-r--r--modules/sympa/manifests/public_list.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/sympa/manifests/public_list.pp b/modules/sympa/manifests/public_list.pp
new file mode 100644
index 00000000..6b660abf
--- /dev/null
+++ b/modules/sympa/manifests/public_list.pp
@@ -0,0 +1,13 @@
+# public discussion list
+# reply_to is set to the list
+define sympa::public_list($subject,
+ $language = 'en',
+ $topics = false) {
+ include sympa::variable
+ list { $name:
+ subject => $subject,
+ language => $language,
+ topics => $topics,
+ reply_to => "$name@$sympa::variable::vhost",
+ }
+}