diff --git a/manifests/bond/dynamic.pp b/manifests/bond/dynamic.pp index 996e519c..66582602 100644 --- a/manifests/bond/dynamic.pp +++ b/manifests/bond/dynamic.pp @@ -10,6 +10,7 @@ # $mtu - optional # $ethtool_opts - optional # $bonding_opts - optional +# $dhcp_hostname- optional # # === Actions: # @@ -34,7 +35,8 @@ $ensure, $mtu = '', $ethtool_opts = '', - $bonding_opts = 'miimon=100' + $bonding_opts = 'miimon=100', + $dhcp_hostname = '' ) { # Validate our regular expressions $states = [ '^up$', '^down$' ] @@ -47,6 +49,7 @@ gateway => '', macaddress => '', bootproto => 'dhcp', + dhcp_hostname=> $dhcp_hostname, ipv6address => '', ipv6gateway => '', mtu => $mtu, diff --git a/templates/network.erb b/templates/network.erb index 6ff541b7..1d2c7f29 100644 --- a/templates/network.erb +++ b/templates/network.erb @@ -3,6 +3,7 @@ ### NETWORKING=yes <% if !@ipv6networking %>NETWORKING_IPV6=no +IPV6INIT=no <% else %>NETWORKING_IPV6=yes <% if !@ipv6gateway.empty? %>IPV6_DEFAULTGW=<%= @ipv6gateway %> <% end -%>