diff options
Diffstat (limited to 'modules/sympa')
-rw-r--r-- | modules/sympa/manifests/list.pp | 2 | ||||
-rw-r--r-- | modules/sympa/manifests/scenario/sender_restricted.pp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/sympa/manifests/list.pp b/modules/sympa/manifests/list.pp index ed0d55e2..a77d8ab1 100644 --- a/modules/sympa/manifests/list.pp +++ b/modules/sympa/manifests/list.pp @@ -20,7 +20,7 @@ define sympa::list( $subject, require => Package[sympa], } - exec { "sympa.pl --create_list --robot=$sympa::variable::vhost --input_file=${xml_file}": + exec { "sympa.pl --create_list --robot=${sympa::variable::vhost} --input_file=${xml_file}": require => File[$xml_file], creates => "/var/lib/sympa/expl/${name}", before => File["/var/lib/sympa/expl/${name}/config"], diff --git a/modules/sympa/manifests/scenario/sender_restricted.pp b/modules/sympa/manifests/scenario/sender_restricted.pp index 0ca9face..c69d3669 100644 --- a/modules/sympa/manifests/scenario/sender_restricted.pp +++ b/modules/sympa/manifests/scenario/sender_restricted.pp @@ -3,7 +3,7 @@ define sympa::scenario::sender_restricted( $ldap_group = false, $allow_subscriber = false ) { - file { "/etc/sympa/scenari/send.restricted_$name": + file { "/etc/sympa/scenari/send.restricted_${name}": content => template('sympa/scenari/sender.restricted') } } |