summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorChristian G. Warden <cwarden@xerus.org>2012-02-01 16:56:49 -0800
committerMicah Anderson <micah@riseup.net>2012-04-18 12:27:17 -0400
commit32da5faa192dc00f781bdb679aafbc0f41ac180d (patch)
tree09d72933dc14f7d89c8119fc7d833cb5e1b4b995 /manifests/init.pp
parent8e364f5929156827bc767d828b9c56b7144758fc (diff)
Fully qualify facter variables to suppress warnings
merge conflict due to immerda's branch not being up-to-date on the bot
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 1aecc3a..5050b69 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -21,7 +21,7 @@ class nagios {
'apache': { include apache }
default: { include apache }
}
- case $operatingsystem {
+ case $::operatingsystem {
'centos': {
$nagios_cfgdir = '/etc/nagios'
include nagios::centos
@@ -30,6 +30,6 @@ class nagios {
$nagios_cfgdir = '/etc/nagios3'
include nagios::debian
}
- default: { fail("No such operatingsystem: $operatingsystem yet defined") }
+ default: { fail("No such operatingsystem: ${::operatingsystem} yet defined") }
}
}