The Puppet Labs Issue Tracker has Moved:

This issue tracker is now in read-only archive mode and automatic ticket export has been disabled. Redmine users will need to create a new JIRA account to file tickets using See the following page for information on filing tickets with JIRA:

Feature #9573

Add fact that exposes details about bonding interfaces on Linux

Added by Krzysztof Wilczynski over 4 years ago. Updated over 2 years ago.

Status:In Topic Branch Pending ReviewStart date:09/17/2011
Priority:NormalDue date:
Assignee:-% Done:


Target version:-
Keywords: Affected Facter version:

We've Moved!

Ticket tracking is now hosted in JIRA:


I needed a distribution-agnostic fact that was exposing bonding interfaces with their configuration details.

Example of the output:

root@germany:~# facter -p | grep -i bonding
bonding_bond0_active_slave => eth4
bonding_bond0_mode => active-backup
bonding_bond0_primary_slave => none
bonding_bond0_slaves => eth0,eth4
bonding_bond0_status => up
bonding_bond1_active_slave => eth5
bonding_bond1_mode => active-backup
bonding_bond1_primary_slave => none
bonding_bond1_slaves => eth1,eth5
bonding_bond1_status => up
bonding_bond2_active_slave => eth6
bonding_bond2_mode => active-backup
bonding_bond2_primary_slave => none
bonding_bond2_slaves => eth2,eth6
bonding_bond2_status => up
bonding_interfaces => bond0,bond1,bond2

The code can be reviewed here: bonding.rb; or available in the repository: facter-facts.

I need to write tests for it :–)



#1 Updated by James Turnbull over 4 years ago

  • Status changed from Unreviewed to Accepted

#2 Updated by Ken Barber over 4 years ago

  • Status changed from Accepted to Tests Insufficient
  • Target version set to 144

#3 Updated by Ken Barber over 4 years ago

  • Target version changed from 144 to 186

#4 Updated by Krzysztof Wilczynski over 4 years ago

  • Assignee deleted (Krzysztof Wilczynski)

#5 Updated by Anonymous about 4 years ago

  • Target version deleted (186)

#6 Updated by Adrien Thebo over 2 years ago

  • Status changed from Tests Insufficient to In Topic Branch Pending Review
  • Branch set to

Also available in: Atom PDF