summaryrefslogtreecommitdiff
path: root/manifests/plugin
diff options
context:
space:
mode:
authorChristian G. Warden <cwarden@xerus.org>2012-02-02 18:10:14 -0800
committerChristian G. Warden <cwarden@xerus.org>2012-02-02 18:10:14 -0800
commite2dfae5852ecdf3695a6af8ec48092ea24698390 (patch)
treed655e7fbf5a12b2a622c83411b40397e512d01e1 /manifests/plugin
parentd8de9540534a3801c87278435934da3c88a69e4b (diff)
Fully qualify facter variables
Diffstat (limited to 'manifests/plugin')
-rw-r--r--manifests/plugin/deploy.pp2
-rw-r--r--manifests/plugin/scriptpaths.pp4
2 files changed, 3 insertions, 3 deletions
diff --git a/manifests/plugin/deploy.pp b/manifests/plugin/deploy.pp
index 67cbfb8..7de8d45 100644
--- a/manifests/plugin/deploy.pp
+++ b/manifests/plugin/deploy.pp
@@ -15,7 +15,7 @@ define munin::plugin::deploy($source = '', $ensure = 'present', $config = '') {
mode => 0755, owner => root, group => 0;
}
- case $kernel {
+ case $::kernel {
openbsd: { $basic_require = File['/var/run/munin'] }
default: { $basic_require = Package['munin-node'] }
}
diff --git a/manifests/plugin/scriptpaths.pp b/manifests/plugin/scriptpaths.pp
index 164a17e..f4bd39b 100644
--- a/manifests/plugin/scriptpaths.pp
+++ b/manifests/plugin/scriptpaths.pp
@@ -1,9 +1,9 @@
class munin::plugin::scriptpaths {
- case $operatingsystem {
+ 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 ? {
+ openbsd: { $script_path = $::operatingsystemrelease ? {
'4.3' => '/opt/munin/lib/plugins/',
default => '/usr/local/libexec/munin/plugins/'
} }