aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa
diff options
context:
space:
mode:
authorOlivier Blin <mageia@blino.org>2016-02-07 23:02:07 +0100
committerOlivier Blin <mageia@blino.org>2016-02-07 23:02:07 +0100
commitaf668c4856fc38bebd0980823c1ecc21b053d9ad (patch)
tree1084cef72bb65aa069d2faf999c8444816a200c4 /modules/sympa
parent0c0ff102b3be6cdc413120639221cdcda32e91ed (diff)
downloadpuppet-af668c4856fc38bebd0980823c1ecc21b053d9ad.tar
puppet-af668c4856fc38bebd0980823c1ecc21b053d9ad.tar.gz
puppet-af668c4856fc38bebd0980823c1ecc21b053d9ad.tar.bz2
puppet-af668c4856fc38bebd0980823c1ecc21b053d9ad.tar.xz
puppet-af668c4856fc38bebd0980823c1ecc21b053d9ad.zip
sympa: fix incorrect default sender email for private lists
Other it failed with ruby >= 1.9, trying to iterate on a string by mistake: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template sympa/scenari/sender.restricted: Filepath: /etc/puppet/modules/sympa/templates/scenari/sender.restricted Line: 7 Detail: undefined method `each' for "":String at /etc/puppet/modules/sympa/manifests/scenario/sender_restricted.pp:7 on node alamut.mageia.org
Diffstat (limited to 'modules/sympa')
-rw-r--r--modules/sympa/manifests/list/private.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/sympa/manifests/list/private.pp b/modules/sympa/manifests/list/private.pp
index 1210aaf5..c8d9b38e 100644
--- a/modules/sympa/manifests/list/private.pp
+++ b/modules/sympa/manifests/list/private.pp
@@ -1,7 +1,7 @@
# list with private archive, restricted to member of $ldap_group
define sympa::list::private($subject,
$subscriber_ldap_group,
- $sender_email = '',
+ $sender_email = false,
$language ='en',
$topics = false) {
list { $name: