Issue #2543 has been updated by Jeff Weiss. Target version deleted (1.6.x)
---------------------------------------- Bug #2543: Error messages with IPv6-enabled interfaces. https://projects.puppetlabs.com/issues/2543#change-63736 Author: Maciej Bliziński Status: Accepted Priority: Normal Assignee: Ben Hughes Category: library Target version: Keywords: Branch: Affected Facter version: <pre> cabbage ~ # facter --puppet no such file to load -- ldap ifconfig: status: SIOCGLIFFLAGS: bge0:1: no such interface ifconfig: status: SIOCGLIFFLAGS: bge0:1: no such interface ifconfig: status: SIOCGLIFFLAGS: bge0:1: no such interface ifconfig: status: SIOCGLIFFLAGS: bge0:1: no such interface ifconfig: status: SIOCGLIFFLAGS: bge0:1: no such interface </pre> A workaround would be to skip the IPv6 interface names: <pre><code class="diff"> index 9fb7034..748bb1d 100644 --- a/lib/facter/util/ip.rb +++ b/lib/facter/util/ip.rb @@ -59,7 +59,7 @@ module Facter::Util::IP when 'Linux', 'OpenBSD', 'NetBSD', 'FreeBSD', 'Darwin' output = %x{/sbin/ifconfig -a} when 'SunOS' - output = %x{/usr/sbin/ifconfig -a} + output = %x{/usr/sbin/ifconfig -a4} end output end </code></pre> -- 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.
