summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkwadronaut <kwadronaut@leap.se>2018-11-20 17:04:58 +0100
committerkwadronaut <kwadronaut@leap.se>2018-11-20 17:04:58 +0100
commitb7250fb2ccd7cc0f8f6280bcd38ff1c66fc79242 (patch)
tree3c341d25bec4ffb1af1666cedb71052e9bf13e37
parente6fee3c731f68ccf8b6add8ada2162c7ad2b8407 (diff)
puppet 4 compare undef empty stringHEADmaster
-rw-r--r--manifests/defaults/vars.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/defaults/vars.pp b/manifests/defaults/vars.pp
index e1a6224..affcc43 100644
--- a/manifests/defaults/vars.pp
+++ b/manifests/defaults/vars.pp
@@ -1,7 +1,7 @@
# some default vars
class nagios::defaults::vars {
case $nagios::cfgdir {
- '': { $int_cfgdir = $::operatingsystem ? {
+ undef: { $int_cfgdir = $::operatingsystem ? {
centos => '/etc/nagios',
default => '/etc/nagios3'
}