Issue #1851 has been updated by jamtur01. Status changed from Unreviewed to Duplicate Target version deleted (1.5.3)
Duplicate. Already fixed in 1.5.3. ---------------------------------------- Bug #1851: ip.rb Facter::IPAddress.get_interfaces does not handle interfaces that are vlan and aliased http://projects.reductivelabs.com/issues/show/1851 Author: snemetz Status: Duplicate Priority: Normal Assigned to: Category: library Target version: Complexity: Trivial Keywords: Current code will only handle eth0.10 or eth0:2, but not eth0.10:2 The line: int = output.scan(/^\w+[.:]?\d+/) needs to change One option is to change it to: int = output.scan(/^\w+[.:]?\d+[.:]?\d+?/) This will work but it is not pretty. A better way, would be: int = output.scan(/^\w+\d+([.:]\d+){0,2}/) But it doesn't appear to get parsed correctly. I haven't learned enough ruby yet, to figure out why. I have books that show syntax similar to this. ---------------------------------------- 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 -~----------~----~----~----~------~----~------~--~---
