diff options
author | Christian G. Warden <cwarden@xerus.org> | 2012-02-01 16:56:49 -0800 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-04-18 12:27:17 -0400 |
commit | 32da5faa192dc00f781bdb679aafbc0f41ac180d (patch) | |
tree | 09d72933dc14f7d89c8119fc7d833cb5e1b4b995 /manifests/defaults/commands.pp | |
parent | 8e364f5929156827bc767d828b9c56b7144758fc (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/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 1213485..aefed8a 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: @@ -124,7 +124,7 @@ class nagios::defaults::commands { # notification commands - $mail_cmd_location = $operatingsystem ? { + $mail_cmd_location = $::operatingsystem ? { centos => '/bin/mail', default => '/usr/bin/mail' } |