summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authoram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-12-05 14:12:29 +0000
committeram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2007-12-05 14:12:29 +0000
commit1fe2c5e4ec21ae9d49bc24a3583b55cda8f216be (patch)
tree018fa0b94731e84036c9d7a8814eff66a112d7b0 /manifests
parentcbd5da982afdd44558f4f8b6fbf3e9ae45c324ae (diff)
gentoo has another script path
git-svn-id: https://svn/ipuppet/trunk/modules/munin@200 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
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" )