From: Stephen Gran Date: Fri, 22 Jan 2010 00:40:16 +0000 (+0000) Subject: try a different variable name X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=13cc186d4a429102a752fb2a0ec26515f1fc17af;p=mirror%2Fdsa-puppet.git try a different variable name Signed-off-by: Stephen Gran --- diff --git a/modules/munin-node/manifests/init.pp b/modules/munin-node/manifests/init.pp index 29bef07fe..91e1e78bc 100644 --- a/modules/munin-node/manifests/init.pp +++ b/modules/munin-node/manifests/init.pp @@ -1,13 +1,13 @@ define activate_munin_check($ensure=present, $script=$name) { case $script { - "": { $base = $name } - default: { $base = $script } + "": { $link = $name } + default: { $link = $script } } case $ensure { present: { file { "/etc/munin/plugins/$name": - ensure => "/usr/share/munin/plugins/$base", + ensure => "/usr/share/munin/plugins/$link", notify => Exec["munin-node restart"]; } }