summaryrefslogtreecommitdiff
path: root/manifests/plugins
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/plugins
parentd8de9540534a3801c87278435934da3c88a69e4b (diff)
Fully qualify facter variables
Diffstat (limited to 'manifests/plugins')
-rw-r--r--manifests/plugins/base.pp2
-rw-r--r--manifests/plugins/interfaces.pp2
-rw-r--r--manifests/plugins/physical.pp2
-rw-r--r--manifests/plugins/setup.pp2
4 files changed, 4 insertions, 4 deletions
diff --git a/manifests/plugins/base.pp b/manifests/plugins/base.pp
index 007579c..972a674 100644
--- a/manifests/plugins/base.pp
+++ b/manifests/plugins/base.pp
@@ -7,7 +7,7 @@ class munin::plugins::base {
}
include munin::plugins::interfaces
- case $kernel {
+ case $::kernel {
openbsd: { include munin::plugins::openbsd }
linux: {
case $vserver {
diff --git a/manifests/plugins/interfaces.pp b/manifests/plugins/interfaces.pp
index 18a713b..b2c448b 100644
--- a/manifests/plugins/interfaces.pp
+++ b/manifests/plugins/interfaces.pp
@@ -5,7 +5,7 @@ class munin::plugins::interfaces {
munin::plugin {
$ifs: ensure => "if_";
}
- case $operatingsystem {
+ case $::operatingsystem {
openbsd: {
$if_errs = regsubst(split($interfaces, " |,"), "(.+)", "if_errcoll_\\1")
munin::plugin{
diff --git a/manifests/plugins/physical.pp b/manifests/plugins/physical.pp
index ac050a5..a1c27a7 100644
--- a/manifests/plugins/physical.pp
+++ b/manifests/plugins/physical.pp
@@ -1,5 +1,5 @@
class munin::plugins::physical {
- case $kernel {
+ case $::kernel {
linux: { munin::plugin { iostat: } }
}
}
diff --git a/manifests/plugins/setup.pp b/manifests/plugins/setup.pp
index c88f9e0..caf2e28 100644
--- a/manifests/plugins/setup.pp
+++ b/manifests/plugins/setup.pp
@@ -11,7 +11,7 @@ class munin::plugins::setup {
mode => 0644, owner => root, group => 0,
notify => Service['munin-node'],
}
- case $kernel {
+ case $::kernel {
openbsd: {
File['/etc/munin/plugin-conf.d/munin-node']{
before => File['/var/run/munin'],