puppetlabs/facter — pull request #316 by cryptographrix (2012-09-18 17:30:22+00:00)
Title: #16005 Puppet agent generates ifconfig warnings on InfiniBand systems

This is a temporary fix for Puppetlabs Facter Bug #16005 FOR LINUX ONLY (as Linux, and only certain distributions/versions of Linux that use older versions of ifconfig need this fix).

This will get rid of the annoying:
"Ifconfig uses the ioctl access method to get the full address information, which limits hardware addresses to 8 bytes.
Because Infiniband address has 20 bytes, only the first 8 bytes are displayed correctly.
Ifconfig is obsolete! For replacement check ip."

that happens when running facter, and if not using ifconfig directly in puppet (or even as facts), when running puppet as well.

This is only temporary as none of the modules handle errors from STDERR and eventually cases must be added for Infiniband network adapters and error catching from ifconfig.