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.