summaryrefslogtreecommitdiff
path: root/manifests/service
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-11-24 13:09:01 +0100
committermh <mh@immerda.ch>2012-11-24 13:09:46 +0100
commitdf358dcf15d26ba59b59f686ceee4b07b3aed7dd (patch)
tree385820c5d6b823d71ca04e975468d4d340d46c76 /manifests/service
parent21ceed6dc0f05418c389ee332312266bb0266880 (diff)
fix typo
Diffstat (limited to 'manifests/service')
-rw-r--r--manifests/service/dns_host.pp14
1 files changed, 8 insertions, 6 deletions
diff --git a/manifests/service/dns_host.pp b/manifests/service/dns_host.pp
index 1e3c6ec..d88f373 100644
--- a/manifests/service/dns_host.pp
+++ b/manifests/service/dns_host.pp
@@ -1,3 +1,5 @@
+# add a special host and monitor
+# it's dns service
define nagios::service::dns_host(
$check_domain,
$host_alias,
@@ -6,15 +8,15 @@ define nagios::service::dns_host(
){
@@nagios_host{$name:
address => $ip,
- alias => $host_alias,
- use => 'generic-host',
+ alias => $host_alias,
+ use => 'generic-host',
parents => $parent,
}
nagios::service::dns{$name:
- $host_name => $name,
- $comment => 'public_ns',
- $check_domain => $check_domain,
- $ip => $ip,
+ host_name => $name,
+ comment => 'public_ns',
+ check_domain => $check_domain,
+ ip => $ip,
}
}