Issue #17191 has been updated by Garrett Honeycutt.

<https://github.com/puppetlabs/facter/pull/344>
----------------------------------------
Bug #17191: ipaddress error when no ips on any  non local interfaces
https://projects.puppetlabs.com/issues/17191#change-74841

Author: Garrett Honeycutt
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: ipaddress
Branch: 
Affected Facter version: 


Facter throws an error when the only interface with an ipaddress is the local 
interface. It should not throw errors and should list all interfaces and their 
IP's in the ipaddress_<int> format.

<pre>
# facter |grep ip
ipaddress => 172.19.131.116
ipaddress_en1 => 172.19.131.116
ipaddress_lo0 => 127.0.0.1

# ifconfig en1 down
# facter |grep ip
Could not retrieve ipaddress: No route to host - send(2)
Timed out seeking value for ipaddress
Could not retrieve ipaddress: No route to host - send(2)
Timed out seeking value for ipaddress
ipaddress_lo0 => 127.0.0.1

# facter facterversion
2.0.0
</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.

Reply via email to