wront regex in util/ip.rb
|Status:||Merged - Pending Release||Start date:|
|Keywords:||Affected Facter version:||1.6.17|
if you compare https://github.com/puppetlabs/facter/blob/master/lib/facter/ipaddress.rb#L32
regexp = /inet (?:addr:)?([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/
:ipaddress => /inet addr:([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/,
you can see why the second one will not work in Fedora 16+ where the “addr:” string no longer exists.
#2 Updated by Jeff McCune 10 months ago
- Category set to interface
- Status changed from Unreviewed to Merged - Pending Release
- Target version set to 2.0.0
- Branch set to https://github.com/puppetlabs/facter/pull/390
Merged into master as 00925c6.
This should be released in Facter 2.
Thanks again for the contribution!