The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
wront regex in util/ip.rb
|Status:||Merged - Pending Release||Start date:|
|Keywords:||Affected Facter version:||1.6.17|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
This issue is currently not available for export. If you are experiencing the issue described below, please file a new ticket in JIRA. Once a new ticket has been created, please add a link to it that points back to this Redmine ticket.
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 almost 2 years 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!