- From: <
>
- To:
- Subject: [chef] error in windows cookbook in windows platform
- Date: Thu, 8 May 2014 23:02:07 -0700 (PDT)
hi,
i developed cookbook with chef windows resources like windows_batch,
windows_zip and etc. With the help of windows cookbook my cookbook was
executed.
some code in my cookbook like
windows_batch "get latest from TFS" do
cwd node['tfsscript_path']
code <<-EOH
tfsSchedule.exe
EOH
end
windows_zipfile "extract current deployment" do
source node['dest_currentDeploymentzip']
action :unzip
path node['extract_currentDeploymentcode']
not_if {::File.exists?(node['extract_currentDeploymentcode'])}
end
previously it was working fine but suddenly its shows error like below...
NoMethodError
-------------
No resource or method named `windows_zipfile' for `Chef::Recipe "bitrefresh"'
No resource or method named `windows_batch' for `Chef::Recipe "bitrefresh"'
iam using hosted chef env and dependency cookbooks like windows, powershell
and
chef_handler for my own cookbook, Idont know how to resolve this??
Please share details hoe to resolve this...? Thanks in advance!!!!
Regards,
Ganesan.A
- [chef] error in windows cookbook in windows platform, ganesan15785, 05/08/2014
Archive powered by MHonArc 2.6.16.