summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-08-22 18:15:55 +0200
committermh <mh@immerda.ch>2013-08-22 18:15:55 +0200
commitea942b34344e2889779e3718c394687607a64c91 (patch)
tree80309e2b365bb8f25cc5d68d9505d57e9945e089
parent2d11bc0ba8a636cee4adeb73689392a077a76006 (diff)
remove silly naming as this anyway only makes it difficult to move checks
-rw-r--r--manifests/service/http.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/service/http.pp b/manifests/service/http.pp
index ef63abb..33921fa 100644
--- a/manifests/service/http.pp
+++ b/manifests/service/http.pp
@@ -18,14 +18,14 @@ define nagios::service::http(
}
case $ssl_mode {
'force',true,'only': {
- nagios::service{"https_${name}_${check_code}":
+ nagios::service{"https_${name}":
ensure => $ensure,
use => $use,
check_command => "check_https_url_regex!${real_check_domain}!${check_url}!'${check_code}'",
}
case $ssl_mode {
'force': {
- nagios::service{"httprd_${name}":
+ nagios::service{"http_${name}":
ensure => $ensure,
use => $use,
check_command => "check_http_url_regex!${real_check_domain}!${port}!${check_url}!'301'",
@@ -36,7 +36,7 @@ define nagios::service::http(
}
case $ssl_mode {
false,true: {
- nagios::service{"http_${name}_${check_code}":
+ nagios::service{"http_${name}":
ensure => $ensure,
use => $use,
check_command => "check_http_url_regex!${real_check_domain}!${port}!${check_url}!'${check_code}'",