Issue #9573 has been updated by Adrien Thebo. Status changed from Tests Insufficient to In Topic Branch Pending Review Branch set to https://github.com/puppetlabs/facter/pull/535
---------------------------------------- Feature #9573: Add fact that exposes details about bonding interfaces on Linux https://projects.puppetlabs.com/issues/9573#change-97502 * Author: Krzysztof Wilczynski * Status: In Topic Branch Pending Review * Priority: Normal * Assignee: * Category: * Target version: * Keywords: * Branch: https://github.com/puppetlabs/facter/pull/535 * Affected Facter version: ---------------------------------------- I needed a distribution-agnostic fact that was exposing bonding interfaces with their configuration details. Example of the output: <pre> 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 </pre> The code can be reviewed here: [bonding.rb](https://github.com/kwilczynski/facter-facts/blob/master/bonding.rb); or available in the repository: [facter-facts](https://github.com/kwilczynski/facter-facts). I need to write tests for it :-) KW -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
