summaryrefslogtreecommitdiff
path: root/manifests/plugin/scriptpaths.pp
diff options
context:
space:
mode:
authormicah <micah@muck.riseup.net>2013-03-20 18:25:28 -0400
committermicah <micah@muck.riseup.net>2013-03-20 18:25:28 -0400
commitc9748747c5c755443d80445a9a6c3f5d2ab3bc7f (patch)
tree65887003b9bceefd7a6ba3e3692b9a6f08373304 /manifests/plugin/scriptpaths.pp
parent149a78e7a8465da97f8ea267cd6a75e3bcdefe4d (diff)
parentf79f662bedbbd75c7e2022da282ba48c1b323e90 (diff)
Merge branch 'immerda/master'
Conflicts: files/plugins/xen-cpu templates/munin-node.conf.Debian.squeeze
Diffstat (limited to 'manifests/plugin/scriptpaths.pp')
-rw-r--r--manifests/plugin/scriptpaths.pp20
1 files changed, 10 insertions, 10 deletions
diff --git a/manifests/plugin/scriptpaths.pp b/manifests/plugin/scriptpaths.pp
index 164a17e..2cad97b 100644
--- a/manifests/plugin/scriptpaths.pp
+++ b/manifests/plugin/scriptpaths.pp
@@ -1,12 +1,12 @@
class munin::plugin::scriptpaths {
- case $operatingsystem {
- gentoo: { $script_path = "/usr/libexec/munin/plugins" }
- debian: { $script_path = "/usr/share/munin/plugins" }
- centos: { $script_path = "/usr/share/munin/plugins" }
- openbsd: { $script_path = $operatingsystemrelease ? {
- '4.3' => '/opt/munin/lib/plugins/',
- default => '/usr/local/libexec/munin/plugins/'
- } }
- default: { $script_path = "/usr/share/munin/plugins" }
- }
+ case $::operatingsystem {
+ gentoo: { $script_path = "/usr/libexec/munin/plugins" }
+ debian: { $script_path = "/usr/share/munin/plugins" }
+ centos: { $script_path = "/usr/share/munin/plugins" }
+ openbsd: { $script_path = $::operatingsystemrelease ? {
+ '4.3' => '/opt/munin/lib/plugins/',
+ default => '/usr/local/libexec/munin/plugins/'
+ } }
+ default: { $script_path = "/usr/share/munin/plugins" }
+ }
}