diff options
author | mh <mh@immerda.ch> | 2008-11-07 21:49:20 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-11-07 21:49:20 +0000 |
commit | e306c4060821fd8f033169930f1d99bdb68148fe (patch) | |
tree | ccf95786e185916e53a57eb69ea3b8fe6437fea2 | |
parent | c40a07021964af415e09b4d0b8bbb0a1a4680f35 (diff) |
fixing case statement
-rw-r--r-- | manifests/defines.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/defines.pp b/manifests/defines.pp index 752c857..00fe2c2 100644 --- a/manifests/defines.pp +++ b/manifests/defines.pp @@ -131,12 +131,12 @@ define nagios::service::http( $ssl_mode = 'false' ){ case $ssl_mode { - 'strict','true','only': { + 'force','true','only': { nagios::service{"check_https_${name}_code_${check_code}_on_${fqdn}": check_command => "check_https_url_regex!${name}!${check_url}!'${check_code}'", } case $ssl_mode { - 'strict': { + 'force': { nagios::service{"check_http_redirect_${name}_on_${fqdn}": check_command => "check_http_url_regex!${name}!${check_url}!'301'", } @@ -145,7 +145,7 @@ define nagios::service::http( } } case $ssl_mode { - 'false,true': { + 'false','true': { nagios::service{"check_http_${name}_code_${check_code}_on_${fqdn}": check_command => "check_http_url_regex!${name}!${check_url}!'${check_code}'", } |