Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 888 Bytes

TODO.md

File metadata and controls

33 lines (26 loc) · 888 Bytes

TODO

Consolidate the bonding config master and slave into one definition.

Examples

Bonded interface - static:

network::bond::static { "bond0":
  ipaddress    => "1.2.3.5",
  netmask      => "255.255.255.0",
  gateway      => "1.2.3.1",
  slaves       => [ "eth0", "eth1", ],
  macaddress   => [ "fe:fe:fe:ae:ae:ae", "ae:ae:ae:fe:fe:fe", ],
  bonding_opts => "mode=active-backup",
  mtu          => "1500",
  ethtool_opts => "speed 100 duplex full autoneg off",
  ensure       => "up",
}

Bonded interface - dhcp:

network::bond::dynamic { "bond2":
  slaves       => [ "eth4", "eth7", ],
  macaddress   => [ $macaddress_eth4, $macaddress_eth7, ],
  bonding_opts => "mode=active-backup",
  mtu          => "1500",
  ethtool_opts => "speed 100 duplex full autoneg off",
  ensure       => "up",
}