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


Chronological Thread 
  • From: Kapil Shardha < >
  • To: " " < >
  • Subject: [chef] RE: Re: RE: Windows NoMethodError - winows cookbook
  • Date: Tue, 15 Jul 2014 18:04:09 +0000
  • Accept-language: en-US

Is windows cookbook added to the runlist for this node?

 

-Kapil

 

From: [mailto: On Behalf Of Andrew Hollingsworth
Sent: Tuesday, July 15, 2014 2:02 PM
To:
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: "> ]
Sent: Tuesday, July 15, 2014 1:58 PM
To: ">
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.

§