summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2007-12-05 14:12:29 +0000
committerandreas <andreas@immerda.ch>2007-12-05 14:12:29 +0000
commitee8026feb3afbbacee19aaac7e71c388581d7f43 (patch)
tree018fa0b94731e84036c9d7a8814eff66a112d7b0 /manifests
parent4b3fc27af6fb2c3f1b1dee33d800bb50fa589b13 (diff)
gentoo has another script path
Diffstat (limited to 'manifests')
-rw-r--r--manifests/plugin.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp
index 8b03765..f97abf0 100644
--- a/manifests/plugin.pp
+++ b/manifests/plugin.pp
@@ -9,7 +9,10 @@ define munin::plugin (
{
case $operatingsystem {
debian: { $munin_node_service = "munin-node" }
- gentoo: { $munin_node_service = "munin" }
+ Gentoo: {
+ $munin_node_service = "munin"
+ $script_path = "/usr/libexec/munin/plugins",
+ }
}
$plugin_src = $ensure ? { "present" => $name, default => $ensure }
debug ( "munin_plugin: name=$name, ensure=$ensure, script_path=$script_path" )