diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/service/dns_host.pp | 5 |
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, } } |