Issue #17191 has been updated by eric sorenson.

Status changed from Unreviewed to Tests Insufficient
Assignee set to Garrett Honeycutt
Branch set to https://github.com/puppetlabs/facter/pull/344

Hi Garrett, thanks for the patch. I see Jeff asked for test coverage on the 
pull request, I'll kick the ticket back to you until there's more commits on 
the PR.
----------------------------------------
Bug #17191: ipaddress error when no ips on any  non local interfaces
https://projects.puppetlabs.com/issues/17191#change-75822

Author: Garrett Honeycutt
Status: Tests Insufficient
Priority: Normal
Assignee: Garrett Honeycutt
Category: 
Target version: 
Keywords: ipaddress
Branch: https://github.com/puppetlabs/facter/pull/344
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