Issue #16665 has been updated by Josh Cooper.
Thanks Sebastian, I completely agree with what you are suggesting. It's been a while, but I think I ran into issues using interface indexes on 2003. If you have time, it would be great if you could give it a try and submit a patch. ---------------------------------------- Bug #16665: [windows] wrong ipaddress with locale != en https://projects.puppetlabs.com/issues/16665#change-72185 Author: Sebastian Lehn Status: Accepted Priority: Normal Assignee: Category: windows Target version: Keywords: windows, ipaddress, netmask, ipaddress6 Branch: Affected Facter version: 1.6.11 Within module Facter::Util::IP <pre> # A map of all the different regexes that work for # a given platform or set of platforms. REGEX_MAP = { :windows => { :ipaddress => /\s+IP Address:\s+([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/, :ipaddress6 => /Address ((?![fe80|::1])(?>[0-9,a-f,A-F]*\:{1,2})+[0-9,a-f,A-F]{0,4})/, :netmask => /\s+Subnet Prefix:\s+\S+\s+\(mask ([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)\)/ } } </pre> Regex contains english strings. That's why facter returns no ip address for interfaces and no netmask. -- 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.
