Issue #15001 has been updated by Russell Harrison.

The ip addresses for each interface are also not returned. Also the merge from 
the previous pull request was incomplete and did not include ip6 or the spec 
tests.  I've included them in [pull request 
401](https://github.com/puppetlabs/facter/pull/401)
----------------------------------------
Bug #15001: ipadress fact fails on Fedora 17
https://projects.puppetlabs.com/issues/15001#change-84503

Author: John Florian
Status: Merged - Pending Release
Priority: Normal
Assignee: 
Category: util_ip
Target version: 1.6.17
Keywords: 
Branch: 
Affected Facter version: 


The output format of /sbin/ifconfig has changed as of Fedora 17 
(net-tools-1.60-134.20120127git.fc17.x86_64) and now ipaddress.rb can no longer 
correctly parse it.  Shown below are snips from the output of ifconfig on 
Fedora 16 (net-tools-1.60-126.fc16.x86_64) and Fedora 17 that illustrate the 
difference:

F16:
<pre>
br0       Link encap:Ethernet  HWaddr B8:AC:6F:97:5E:E1  
          inet addr:10.1.0.158  Bcast:10.1.255.255  Mask:255.255.0.0
          inet6 addr: fe80::baac:6fff:fe97:5ee1/64 Scope:Link
</pre>
<snip>

F17:
<pre>
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500                      
                                    
        inet 10.1.192.143  netmask 255.255.0.0  broadcast 10.1.255.255          
                                    
        inet6 fe80::5054:ff:fe63:96e5  prefixlen 64  scopeid 0x20<link>
</pre>
<snip>





-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to