diff options
Diffstat (limited to 'manifests/target')
-rw-r--r-- | manifests/target/fqdn.pp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/manifests/target/fqdn.pp b/manifests/target/fqdn.pp index 2521533..6bb16c1 100644 --- a/manifests/target/fqdn.pp +++ b/manifests/target/fqdn.pp @@ -1,3 +1,10 @@ -class nagios::target::fqdn inherits nagios::target { - Nagios_host[$::fqdn] { address => $::fqdn } +class nagios::target::fqdn( + $hostgroups = 'absent', + $parents = 'absent' +) { + class{'nagios::target': + address => $::fqdn, + hostgroups => $hostgroups, + parents => $parents + } } |