diff options
author | Thomas Backlund <tmb@mageia.org> | 2015-10-20 19:17:17 +0300 |
---|---|---|
committer | Thomas Backlund <tmb@mageia.org> | 2015-10-20 19:17:17 +0300 |
commit | 27a18326e816aeb9ab98d9fbaef33f8bd6a2a5d2 (patch) | |
tree | 066647fa051720fac7a2e21a2a8d9759f42b3d46 /modules/sympa | |
parent | c61daf65b58b943994d1f21e52deee9a9ce04827 (diff) | |
download | puppet-27a18326e816aeb9ab98d9fbaef33f8bd6a2a5d2.tar puppet-27a18326e816aeb9ab98d9fbaef33f8bd6a2a5d2.tar.gz puppet-27a18326e816aeb9ab98d9fbaef33f8bd6a2a5d2.tar.bz2 puppet-27a18326e816aeb9ab98d9fbaef33f8bd6a2a5d2.tar.xz puppet-27a18326e816aeb9ab98d9fbaef33f8bd6a2a5d2.zip |
variable enclosing fixes
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') } } |