Added an array for a groups parameter and a hash for a vars parameter.

This commit is contained in:
Nick Chappell 2014-07-10 21:04:51 -07:00
parent 441216a3c4
commit a8640bef22
2 changed files with 5 additions and 3 deletions

View file

@ -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',

View file

@ -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: