Issue #18284 has been updated by Josh Cooper. Status changed from Unreviewed to Needs Decision Assignee set to eric sorenson Keywords set to ipaddress windows
Hi Dmitry, the `ipaddress` fact has historically returned "an" ipaddress, but not necessarily the one associated with the default route on a multihomed host. This issue has been discussed on the mailing list in the past, e.g. <https://groups.google.com/d/topic/puppet-users/8nhGgBixOjI/discussion>. This issue seems most closely duplicated by #5816, though #1346 appears to be the most current bug. ---------------------------------------- Bug #18284: ipaddress bug in facter for windows https://projects.puppetlabs.com/issues/18284#change-79865 Author: Dmitriy Novitskiy Status: Needs Decision Priority: Normal Assignee: eric sorenson Category: Target version: Keywords: ipaddress windows Branch: Affected Facter version: On the windows server we have 2 ip on the one interface C:\Users\Administrator>wmic path win32_networkadapterconfiguration get ipaddress , dnsdomain, ipenabled DNSDomain IPAddress IPEnabled FALSE FALSE FALSE FALSE FALSE FALSE FALSE {"46.254.XX.XX", "10.0.0.2"} TRUE FALSE FALSE FALSE FALSE FALSE FALSE FALSE {"169.254.79.222", "fe80::8524:6a07:c2d2:4fde"} TRUE FALSE but the facter select only local ip: 10.0.0.2 interfaces => Loopback_Pseudo_Interface_1,Local_Area_Connection_4,Local_Area_Con nection,6TO4_Adapter ipaddress => 10.0.0.2 ipaddress6 => 2002:2efe:1721::2efe:1721 ipaddress6_6to4_adapter => 2002:2efe:1721::2efe:1721 ipaddress_local_area_connection => 10.0.0.2 ipaddress_local_area_connection_4 => 169.254.79.222 ipaddress_loopback_pseudo_interface_1 => 127.0.0.1 kernel => windows How i can get real ip (46.254.XX.XX) by facter? Puppet version: puppet-3.0.2.msi -- 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.
