Changed default value of the IPv6 address parameter to undef so that we don't get address6 set in a host definition to an IPv4 address that facter returns.

This commit is contained in:
Nick Chappell 2014-07-26 18:20:59 -07:00
parent cf3c05ddc9
commit c5d1b96fdf

View file

@ -11,7 +11,7 @@ define icinga2::object::host (
$object_hostname = $name,
$display_name = $fqdn,
$ipv4_address = $ipaddress_eth0,
$ipv6_address = $ipaddress_eth0,
$ipv6_address = undef,
$template_to_import = 'generic-host',
$groups = [],
$vars = {},