summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-11-23 10:11:25 +0100
committermh <mh@immerda.ch>2012-11-23 10:11:25 +0100
commit21ceed6dc0f05418c389ee332312266bb0266880 (patch)
tree1d30447533f751ad5624b991e5d103beb6b22eef /manifests
parentba06c529b4584cdd4c31c388c674bcd37f07796c (diff)
make check_domain configurable
Diffstat (limited to 'manifests')
-rw-r--r--manifests/service/dns_host.pp5
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/service/dns_host.pp b/manifests/service/dns_host.pp
index d243224..1e3c6ec 100644
--- a/manifests/service/dns_host.pp
+++ b/manifests/service/dns_host.pp
@@ -1,4 +1,5 @@
define nagios::service::dns_host(
+ $check_domain,
$host_alias,
$parent,
$ip
@@ -10,10 +11,10 @@ define nagios::service::dns_host(
parents => $parent,
}
- nagios::service::dns{
+ nagios::service::dns{$name:
$host_name => $name,
$comment => 'public_ns',
- $check_domain => 'glei.ch',
+ $check_domain => $check_domain,
$ip => $ip,
}
}