projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63d6a42
)
try a different variable name
author
Stephen Gran
<steve@lobefin.net>
Fri, 22 Jan 2010 00:40:16 +0000
(
00:40
+0000)
committer
Stephen Gran
<steve@lobefin.net>
Fri, 22 Jan 2010 00:40:16 +0000
(
00:40
+0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/munin-node/manifests/init.pp
patch
|
blob
|
history
diff --git
a/modules/munin-node/manifests/init.pp
b/modules/munin-node/manifests/init.pp
index
29bef07
..
91e1e78
100644
(file)
--- 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"];
}
}