Issue #15798 has been updated by Ashley Penney.
Hey, If you're feeling ambitious could you grab a copy of https://github.com/apenney/facter/tree/ipaddress_vt and see how it works on your system? It should use /sbin/ip by preference. For the 'interfaces' fact it actually uses /proc/net/dev as you suggested so I'd love to see what output you get for this branch. I'm trying to make it less terrible for complex uses. :) ---------------------------------------- Bug #15798: Fails to handle network interface names longer than 9 characters https://projects.puppetlabs.com/issues/15798#change-68608 Author: Max Bowsher Status: Unreviewed Priority: Normal Assignee: Category: Target version: Keywords: Branch: Affected Facter version: 1.6.10 Facter currently uses ifconfig on Linux, and as a result, fails to function properly if interface names have more than 9 characters, as ifconfig truncates them: # facter >/dev/null Device "p2p.gdc-f" does not exist. p2p.gdc-f: error fetching interface information: Device not found (errors repeated numerous times) Possible options to fix: - Migrate completely to using /sbin/ip if it is available. - Continue to use ifconfig, but get the list of interface names by reading /proc/net/dev -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
