diff options
author | andreas <andreas@immerda.ch> | 2008-02-01 15:59:59 +0000 |
---|---|---|
committer | andreas <andreas@immerda.ch> | 2008-02-01 15:59:59 +0000 |
commit | cb1dec1b3514162b4f761edb8068c703693c0f90 (patch) | |
tree | 5c0d3b3021acc9a2d8251cb98335d72c759166c3 /manifests | |
parent | 3eee1a476d408d0d7836fa10b8cd728e65a77b9d (diff) |
path
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/plugin.pp | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/manifests/plugin.pp b/manifests/plugin.pp index b28b918..426e30f 100644 --- a/manifests/plugin.pp +++ b/manifests/plugin.pp @@ -129,7 +129,29 @@ define munin::remoteplugin($ensure = "present", $source, $config = '') { } class munin::plugins::base { - include munin::plugin::paths + + case $operatingsystem { + gentoo: { + $munin_node_package = "munin" + $munin_node_service = "munin" + $script_path = "/usr/libexec/munin/plugins" + } + debian: { + $munin_node_service = "munin-node" + $munin_node_package = "munin-node" + $script_path = "/usr/share/munin/plugins" + } + centos: { + $munin_node_service = "munin-node" + $munin_node_package = "munin-node" + $script_path = "/usr/share/munin/plugins" + } + default: { + $munin_node_service = "munin-node" + $munin_node_package = "munin-node" + $script_path = "/usr/share/munin/plugins" + } + } case $operatingsystem { centos: { |