[chef] Re: RE: Re: RE: Windows NoMethodError - winows cookbook


Chronological Thread 
  • From: Andrew Hollingsworth < >
  • To:
  • Subject: [chef] Re: RE: Re: RE: Windows NoMethodError - winows cookbook
  • Date: Tue, 15 Jul 2014 11:15:25 -0700

HI Kapil,

Yes indeed it is... And it's picked up by the chef-client converge. In fact windows_package works fine but windows_batch, windows_zipfile, and windows_path do not (these are the only ones I've tried).  Additionally a similar thing happens with the powershell cookbook so I don't think it's cookbook specific, more platform specific maybe...

Cheers,





On Tue, Jul 15, 2014 at 11:04 AM, Kapil Shardha < " target="_blank"> > wrote:

Is windows cookbook added to the runlist for this node?

 

-Kapil

 

From: " target="_blank"> [mailto: " target="_blank"> ] On Behalf Of Andrew Hollingsworth
Sent: Tuesday, July 15, 2014 2:02 PM
To: " target="_blank">
Subject: [chef] Re: RE: Windows NoMethodError - winows cookbook

 

Hi Kapil.

 

Already there :-) Thanks though...

 

Cheers,


 

On Tue, Jul 15, 2014 at 11:00 AM, Kapil Shardha < " target="_blank"> > wrote:

You may want to add

include_recipe 'windows'

in your recipe.

-Kapil



-----Original Message-----
From: Andrew Hollingsworth [mailto: " target="_blank"> ]
Sent: Tuesday, July 15, 2014 1:58 PM
To: " target="_blank">
Subject: [chef] Windows NoMethodError - winows cookbook

Hi all,

I have a client running on Windows (in EC2) that requires a wrapper recipe to do a few things. However, even though I have the windows cookbook as a dependency in my metadata.rb I get a NoMethodError when I run chef-client on the server.

The error is :

NoMethodError
-------------
No resource or method named `windows_batch' for `Chef::Recipe "deploy"'

 





Archive powered by MHonArc 2.6.16.

§