Issue #2543 has been reported by Maciej Bliziński.
----------------------------------------
Bug #2543: Error messages with IPv6-enabled interfaces.
http://projects.reductivelabs.com/issues/2543
Author: Maciej Bliziński
Status: Unreviewed
Priority: Normal
Assigned to:
Category: library
Target version:
Complexity: Unknown
Keywords:
<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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---