diff options
author | Christian G. Warden <cwarden@xerus.org> | 2012-02-01 16:56:49 -0800 |
---|---|---|
committer | Christian G. Warden <cwarden@xerus.org> | 2012-02-01 16:56:49 -0800 |
commit | 363bdd5c7519aea45be143f4a19c10dc41a9b03f (patch) | |
tree | 25e86552781d5c3a87e67aaa8ff912e472b66771 /manifests/defaults/commands.pp | |
parent | f2df62c9d17d481a3d616a4f2de9496638fadc0a (diff) |
Fully qualify facter variables to suppress warnings
Diffstat (limited to 'manifests/defaults/commands.pp')
-rw-r--r-- | manifests/defaults/commands.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/defaults/commands.pp b/manifests/defaults/commands.pp index 17d1408..3b0da37 100644 --- a/manifests/defaults/commands.pp +++ b/manifests/defaults/commands.pp @@ -4,7 +4,7 @@ class nagios::defaults::commands { include nagios::command::imap_pop3 # common service commands - case $operatingsystem { + case $::operatingsystem { debian,ubuntu: { nagios_command { check_dummy: @@ -122,7 +122,7 @@ class nagios::defaults::commands { # notification commands - $mail_cmd_location = $operatingsystem ? { + $mail_cmd_location = $::operatingsystem ? { centos => '/bin/mail', default => '/usr/bin/mail' } |