Issue #16665 has been updated by Josh Cooper. Description updated
---------------------------------------- Bug #16665: [windows] wrong ipaddress with locale != en https://projects.puppetlabs.com/issues/16665#change-72122 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 puppet-bugs@googlegroups.com. To unsubscribe from this group, send email to puppet-bugs+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.