summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authoram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-02-01 15:59:59 +0000
committeram <am@d66ca3ae-40d7-4aa7-90d4-87d79ca94279>2008-02-01 15:59:59 +0000
commit68021a7334465225066ee24958dde7675f31dcdd (patch)
tree5c0d3b3021acc9a2d8251cb98335d72c759166c3 /manifests
parentfdd40a1954998128e024321cf3e55a900b336a68 (diff)
path
git-svn-id: https://svn/ipuppet/trunk/modules/munin@692 d66ca3ae-40d7-4aa7-90d4-87d79ca94279
Diffstat (limited to 'manifests')
-rw-r--r--manifests/plugin.pp24
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: {