Ask Your Question
0

NIC teaming/bonding using Puppet

asked 2016-07-01 16:27:54 -0500

Red Cricket gravatar image

updated 2016-07-01 17:09:18 -0500

Hi,

I am having trouble looking for a good puppet forge module that deals with NIC bonding/teaming. I found this example42/network but I am not sure how I would use it to set up NIC bonding.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2016-07-03 04:49:48 -0500

updated 2016-07-03 04:50:32 -0500

Using the example42/network module you can have:

In your manifest:

include network

In Hiera something like:

---
network::hostname: 'web01'
network::gateway: 192.168.0.1
network::interfaces_hash:
  eth0:
    method: manual
    bond_master: 'bond3'
    allow_hotplug: 'eth0'
    manage_order: '08'
  eth1:
    method: manual
    bond_master: 'bond3'
    allow_hotplug: 'eth1'
    manage_order: '08'
  bond3:
    ipaddress: '10.0.28.10'
    netmask: '255.255.248.0'
    gateway: '10.0.24.1'
    dns_nameservers: '8.8.8.8 8.8.4.4'
    dns_search: 'my.domain'
    bond_mode: 'balance-alb'
    bond_miimon: '100'
    bond_slaves: []

I also use the razorsedge/network module although it appears that the example42 module is the Approved module.

edit flag offensive delete link more
1

answered 2016-07-02 09:03:58 -0500

JohnsonEarls gravatar image

I use razorsedge-network for this purpose.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-07-01 16:27:54 -0500

Seen: 291 times

Last updated: Jul 03 '16