Issue #2938 has been updated by James Turnbull.

Category set to library
Status changed from Unreviewed to Accepted
Target version set to Facter - 1.6.0


----------------------------------------
Bug #2938: interfaces that don't match ^\w+[.:]?\d+ are ignored
http://projects.reductivelabs.com/issues/2938

Author: Andy Bakun
Status: Accepted
Priority: Normal
Assigned to: 
Category: library
Target version: 1.6.0
Keywords: 
Branch: 


I often rename the interfaces on my machines so they are more self-documenting 
and consistent independent of driver loading order.

This can be done with @ip link set DEVICE name NEWNAME@ or with udev rules (the 
more permanent option).

The regular expression used to match is too limiting on line 24 of 
facter/ipmess.rb in facter 1.3.8 (I'm currently using a ubuntu provided 
facter), but still exists in line 55 of 
http://projects.reductivelabs.com/projects/facter/repository/revisions/fab9d1c63f0a3671dc5f8fa0233823a59f1bce06/entry/lib/facter/util/ip.rb

This would most likely be easier to parse the output of @ip link@ and @ip addr@ 
using iproute2 (/sbin/ip), which is mentioned in bug #1346.  So this bug may be 
dependent on that one.


-- 
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://reductivelabs.com/redmine/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.

Reply via email to