Issue #18284 has been updated by Rob Reynolds.

Assignee changed from eric sorenson to Rob Reynolds

----------------------------------------
Bug #18284: ipaddress bug in facter for windows
https://projects.puppetlabs.com/issues/18284#change-95160

* Author: Dmitriy Novitskiy
* Status: Needs Decision
* Priority: Normal
* Assignee: Rob Reynolds
* Category: 
* Target version: 
* Keywords: ipaddress windows
* Branch: 
* Affected Facter version: 
----------------------------------------
On the windows server we have 2 ip on the one interface

<pre> 
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
</pre>

but the facter select only local ip: 10.0.0.2
<pre>
interfaces => 
Loopback_Pseudo_Interface_1,Local_Area_Connection_4,Local_Area_Connection,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
</pre>

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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to