diff --git a/manifests/objects/host.pp b/manifests/objects/host.pp index 5ec5e68..e677ba8 100644 --- a/manifests/objects/host.pp +++ b/manifests/objects/host.pp @@ -8,11 +8,13 @@ # define icinga2::objects::host ( - $ipv4_address = $ipaddress_eth0, - $ipv6_address = $ipaddress_eth0, $object_hostname = $name, $display_name = $fqdn, + $ipv4_address = $ipaddress_eth0, + $ipv6_address = $ipaddress_eth0, $template_to_import = 'generic-host', + $groups = [], + $vars = {}, $target_dir = '/etc/icinga2/conf.d', $target_file_name = "${fqdn}.conf", $target_file_owner = 'root', diff --git a/templates/object_host.conf.erb b/templates/object_host.conf.erb index 3eb9ee5..bdf1590 100644 --- a/templates/object_host.conf.erb +++ b/templates/object_host.conf.erb @@ -7,7 +7,7 @@ * A host definition. You can create your own configuration files * in the conf.d directory (e.g. one per host). By default all *.conf * files in this directory are included. - * + * */ //Parameters to include: