Issue #1346 has been updated by miah.
The 'ip' command is available on most Linux distributions, in the iproute2 package. The 'ip' command provides avanced functionality that isnt available in ifconfig. http://www.linuxfoundation.org/en/Net:Iproute2 http://en.wikipedia.org/wiki/Iproute2 http://www.policyrouting.org/iproute2-toc.html ---------------------------------------- Bug #1346: Using 'ip addr' over ifconfig http://projects.reductivelabs.com/issues/show/1346 Author: pookey Status: Needs more information Priority: Normal Assigned to: Category: library Target version: 2.0.0 Complexity: Unknown Patch: None Keywords: # facter /usr/lib/ruby/site_ruby/1.8/facter/ipmess.rb:85: command not found: /sbin/ifconfig -a /usr/bin/facter:54: command not found: /sbin/ifconfig -a /usr/bin/facter:54: command not found: dnsdomainname /usr/bin/facter:54: command not found: domainname /usr/bin/facter:54: command not found: /sbin/ifconfig architecture => i386 domain => internal.HIDDEN facterversion => 1.3.8 fqdn => ruby-test.internal.HIDDEN hardwareisa => unknown hardwaremodel => i686 hostname => ruby-test id => root ipaddress => 10.200.201.73 It would be nice if when ifconfig can't be found, it falls back to using 'ip addr' - also, notice that domainname and dnsdomainname are not present on this system - however facter does appear to get them correct regardless. ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
