summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
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") }
}
}