Issue #5816 has been updated by James Turnbull. Category set to library
---------------------------------------- Bug #5816: ipaddress fact uses the IP of the alphabetically earliest interface. https://projects.puppetlabs.com/issues/5816 Author: Ricky Zhou Status: Code Insufficient Priority: Normal Assignee: Category: library Target version: Keywords: Branch: Affected Facter version: I have a machine with a dns0 interface, which ifconfig outputs before eth0 (it seems to output them in alphabetical order). I noticed that /sbin/ip from iproute2 (the replacement for the deprecated net-tools) seems to order interfaces by ifindex (?) which seems to be more reasonable. Since net-tools/ifconfig are deprecated anyway, this seems like a reasonable change to make (although it might be worth double-checking that iproute2 is available in distros where facter is supported. This patch changes the ipaddress fact to use /sbin/ip instead. If this is acceptable, it might be worth fixing other usages of net-tools as well. http://ricky.fedorapeople.org/facter/0001-Use-iproute2-utility-for-ipaddress-fact.patch -- 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.
