Forge Home

bonding

Manage and configure bonding on RedHat/CentOS. Two interfaces in two different cards

10,782 downloads

8,606 latest version

2.2 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.0.3 (latest)
  • 0.0.2 (deleted)
  • 0.0.1
released Aug 27th 2015

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'jcalles-bonding', '0.0.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jcalles-bonding
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jcalles-bonding --version 0.0.3

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

jcalles/bonding — version 0.0.3 Aug 27th 2015

##Puppet bonding module

License

Apache License, Version 2.0

Contact

javiercalles@gmail.com

Support

https://groups.google.com/forum/#!forum/puppet-venezuela

Please log tickets and issues at our

Project Site

Manages and configures the bonding between two network ports on two different cards

NIC ONE NIC TWO


| eth0 | eth1 | eth2 | eth3 | | eth4 | eth5 | eth6 | eth7 |

     1                                      1

Variables

Here you should define a list of variables that this module would require.

dns       =>    #namserver
bond      =>    #bonding interface
mode      =>    0,1,2,3,4,5,6
#balance-rr=0,
#active-backup=1                    
#balancexor=2
#broadcast=3,
#802.3ad=4,
#balance-tlb=5,
#balance-alb=6 
netmask   =>    #Network mask 
lacp_rate =>    
#slow or 0 — Default setting. This specifies that partners
#should transmit LACPDUs every 30 seconds.
#fast or 1 — Specifies that partners should transmit LACPDUs every 1 second. 
miimon    =>    #Specifies (in milliseconds) how often MII link monitoring occurs
domain    =>    #Domain 
Examples

node 'fqdn' { class {'bonding': stage => 'post'} # Previamente definido en el site.pp sino, solo "include bonding" bonding::config{'bonding': dns => '10.10.10.11',
bond => 'bond0',
mode => '4',
netmask => '255.255.255.0', lacp_rate => '1',
miimon => '100',
domain => 'mydomain.com',

}

##Author

Javier Calles <javiercalles@gmail.com

##Copyright

Copyright 2015

Javier Calles