Hello,

I am a new user.
My pupet is running on CentOS and I am facing the same issue on my windows 
2012 box.
Can you please tell me where I should be running this?

on the puppetmaster server or agent?

I didnt make the changes to the windows.rb file but I still face the same 
issue.

[root@puppet-server-new ~]# find / -name windows.rb
/opt/puppet/libexec/mcollective/mcollective/util/puppet_agent_mgr/v3/windows.rb
/opt/puppet/libexec/mcollective/mcollective/util/puppet_agent_mgr/v2/windows.rb
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/util/windows.rb
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/provider/file/windows.rb
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/provider/service/windows.rb
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/provider/exec/windows.rb
/opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/provider/package/windows.rb
/opt/puppet/lib/ruby/site_ruby/1.9.1/facter/util/ip/windows.rb
/opt/puppet/share/puppet/modules/reboot/lib/puppet/provider/reboot/windows.rb
/opt/puppet/share/puppet/modules/pe_common/lib/facter/windows.rb
/opt/puppet/share/puppet/modules/pe_mcollective/files/plugins/util/puppet_agent_mgr/v3/windows.rb
/opt/puppet/share/puppet/modules/pe_mcollective/files/plugins/util/puppet_agent_mgr/v2/windows.rb
/opt/puppet/share/vendor/ruby/1.9.1/gems/sass-3.2.9/vendor/listen/lib/listen/adapters/windows.rb
/root/facter-1.7.3/lib/facter/util/ip/windows.rb
/var/opt/lib/pe-puppet/lib/puppet/provider/reboot/windows.rb
/var/opt/lib/pe-puppet/lib/facter/windows.rb
/usr/lib/ruby/site_ruby/1.8/facter/util/ip/windows.rb

I see a bunch of windows.rb files.

I made the changes to the below one on puppetmaster box.
[root@puppet-server-new ~]# vi 
/usr/lib/ruby/site_ruby/1.8/facter/util/ip/windows.rb


Still the same issue on Windows 2012 Hyper-V box running MSCS
C:\Users\administrator.A1000>puppet agent -t
Info: Retrieving plugin
Error: Could not retrieve local facts: undefined method `gsub' for 
nil:NilClass
Error: Failed to apply catalog: Could not retrieve local facts: undefined 
method
 `gsub' for nil:NilClass


On Friday, October 4, 2013 12:17:38 AM UTC+5:30, Rob Reynolds wrote:
>
> This verifies for us that this is a gating issue. 
>
> Would you feel comfortable helping us verify that we've fixed this issue 
> for you?
>
>
> https://github.com/ferventcoder/facter/blob/874a5a96ac5fa778c50f1e93424850022b1756cf/lib/facter/util/ip/windows.rb#L46-L47
>
>
>
>
> On Thu, Oct 3, 2013 at 1:42 PM, Christian Koep <[email protected]<javascript:>
> > wrote:
>
>> Yes, thats all i got from *facter --trace --debug*
>>
>>
>> On Thu, Oct 3, 2013 at 8:41 PM, Rob Reynolds 
>> <[email protected]<javascript:>
>> > wrote:
>>
>>> Was this the entire log (minus anything you feel sensitive)?
>>>
>>>
>>> On Thu, Oct 3, 2013 at 1:15 PM, cko <[email protected] <javascript:>>wrote:
>>>
>>>> https://gist.github.com/anonymous/6814400
>>>>
>>>>
>>>> On Thursday, October 3, 2013 5:23:05 PM UTC+2, Rob Reynolds wrote:
>>>>
>>>>> You should be able to run 
>>>>>
>>>>> facter --trace --debug
>>>>>
>>>>>
>>>>> On Wed, Oct 2, 2013 at 5:18 PM, cko <[email protected]> wrote:
>>>>>
>>>>>> Hi Ethan,
>>>>>>
>>>>>> what's the exact command that i would have to use? 
>>>>>>
>>>>>>
>>>>>> On Wednesday, October 2, 2013 11:35:29 PM UTC+2, Ethan Brown wrote:
>>>>>>
>>>>>>> Christian - 
>>>>>>>
>>>>>>> I'm doing the final verification of our fix, and was hoping that I 
>>>>>>> could get the output from Facter run by itself?
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Sep 20, 2013 at 1:36 PM, Rob Reynolds 
>>>>>>> <[email protected]>wrote:
>>>>>>>
>>>>>>>>  I would say with all of this in mind we move forward with a fix 
>>>>>>>> where we look to see that the network adapter itself is also enabled. 
>>>>>>>> This 
>>>>>>>> is laid out in the ticket that I noted earlier.
>>>>>>>>  
>>>>>>>>
>>>>>>>> On Fri, Sep 20, 2013 at 7:44 AM, Rich Siegel <[email protected]>wrote:
>>>>>>>>
>>>>>>>>>  Exchange DAG is essentially a cluster and the adapter in question 
>>>>>>>>> the dag ip.
>>>>>>>>>
>>>>>>>>> My guess is the logic for adapters should be modded for when 
>>>>>>>>> netconnectionid is not null.
>>>>>>>>>
>>>>>>>>> In general don't try to mess with hidden adapters on dags unless 
>>>>>>>>> you understand ramifications.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>>> Groups "Puppet Users" 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-users.
>>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Rob Reynolds
>>>>>>>> Developer, Puppet Labs
>>>>>>>>
>>>>>>>> Join us at PuppetConf 2014, September 23-24 in San Francisco
>>>>>>>>  
>>>>>>>> -- 
>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>> Groups "Puppet Users" 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-users.
>>>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -- 
>>>>>>> --
>>>>>>> Ethan Brown
>>>>>>> [email protected]
>>>>>>> Software Engineer
>>>>>>>
>>>>>>> *Join us at PuppetConf 2014, September 23-24 in San Francisco*
>>>>>>>  
>>>>>>  -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "Puppet Users" 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-users.
>>>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Rob Reynolds
>>>>> Developer, Puppet Labs
>>>>>
>>>>> Join us at PuppetConf 2014, September 23-24 in San Francisco
>>>>>  
>>>>  -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "Puppet Users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected] <javascript:>.
>>>>
>>>> To post to this group, send email to 
>>>> [email protected]<javascript:>
>>>> .
>>>> Visit this group at http://groups.google.com/group/puppet-users.
>>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>>
>>>
>>>
>>>
>>> -- 
>>> Rob Reynolds
>>> Developer, Puppet Labs
>>>
>>> Join us at PuppetConf 2014, September 23-24 in San Francisco
>>>  
>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "Puppet Users" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/puppet-users/_JSpNmSvg_I/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> [email protected] <javascript:>.
>>>
>>> To post to this group, send email to [email protected]<javascript:>
>>> .
>>> Visit this group at http://groups.google.com/group/puppet-users.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/puppet-users.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
>
> -- 
> Rob Reynolds
> Developer, Puppet Labs
>
> Join us at PuppetConf 2014, September 23-24 in San Francisco
>  

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/7d901810-b8fc-4bb0-bfb1-d42215e97894%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to