Reputation: 21
When I try to run a simple unzip recipe on windows environment I am getting the below error:
No resource or method named `windows_zipfile' for `Chef::Recipe "default"'
Please let me know how to fix this.
Upvotes: 0
Views: 1157
Reputation: 55803
This resource is defined in the windows cookbook, not in Chef core itself.
Thus, in order to use it, you have to declare the windows cookbook as a dependency of your cookbook and upload it to the Chef server (or your cookbooks directory when running with chef solo).
Upvotes: 3