aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/manifests
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-11-10 14:10:16 +0000
committerNicolas Vigier <boklm@mageia.org>2011-11-10 14:10:16 +0000
commit90c2892916b2a7bc0be82a5c541f86f7cb21bb1f (patch)
treefb402be7edde37c0e67719b2cf23f221ff48e168 /modules/sympa/manifests
parent89f0d21d20573af73268162fd90231599d3f7e9e (diff)
downloadpuppet-90c2892916b2a7bc0be82a5c541f86f7cb21bb1f.tar
puppet-90c2892916b2a7bc0be82a5c541f86f7cb21bb1f.tar.gz
puppet-90c2892916b2a7bc0be82a5c541f86f7cb21bb1f.tar.bz2
puppet-90c2892916b2a7bc0be82a5c541f86f7cb21bb1f.tar.xz
puppet-90c2892916b2a7bc0be82a5c541f86f7cb21bb1f.zip
set reply_to to list on public_list
Diffstat (limited to 'modules/sympa/manifests')
-rw-r--r--modules/sympa/manifests/init.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/sympa/manifests/init.pp b/modules/sympa/manifests/init.pp
index 02ed6c4a..631fa0dd 100644
--- a/modules/sympa/manifests/init.pp
+++ b/modules/sympa/manifests/init.pp
@@ -244,12 +244,17 @@ class sympa {
# various types of list that can be directly used
#
#
+
+ # public discussion list
+ # reply_to is set to the list
define public_list($subject, $language = 'en', $topics = false) {
+ include vhost::variable
list { $name:
subject => $subject,
# profile => "public",
language => $language,
topics => $topics,
+ reply_to => "$name@$sympa::variable::vhost",
}
}