Issue #15001 has been updated by John Florian.
Daniel Pittman wrote: > I don't think this can go in as-is. Unfortunately, while the `ip` tool from > `iproute2` is decidedly the superior way to get this information, it isn't > standard or required on all Linux distributions. Despite the decade of > availability. :/ And isn't that exactly the reason puppet has providers? > We really need to prefer using it if available, but to fall back to ifconfig > parsing when it can't be found. That method would satisfy me also. ---------------------------------------- Bug #15001: ipadress fact fails on Fedora 17 https://projects.puppetlabs.com/issues/15001#change-70485 Author: John Florian Status: Code Insufficient Priority: Normal Assignee: Andrew Elwell Category: Target version: 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 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.
