aboutsummaryrefslogtreecommitdiffstats
path: root/modules/sympa/manifests/list.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/sympa/manifests/list.pp')
-rw-r--r--modules/sympa/manifests/list.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/sympa/manifests/list.pp b/modules/sympa/manifests/list.pp
index 4e265f31..7b613297 100644
--- a/modules/sympa/manifests/list.pp
+++ b/modules/sympa/manifests/list.pp
@@ -41,14 +41,14 @@ define sympa::list( $subject,
}
if $sender_ldap_group {
- if ! defined(Sympa::Scenario::Sender_ldap_group[$sender_ldap_group]) {
- sympa::scenario::sender_ldap_group { $sender_ldap_group: }
+ sympa::scenario::sender_ldap_group { $name:
+ ldap_group => $sender_ldap_group,
}
}
if $sender_email {
- if ! defined(Sympa::Scenario::Sender_email[$sender_email]) {
- sympa::scenario::sender_email { $sender_email: }
+ sympa::scenario::sender_email { $name:
+ email => $sender_email,
}
}