Did you create this recipe inside of the windows cookbook? If not, and you are using a wrapper cookbook, you'll need to add "depends windows" to the metadata.rb of the cookbook that contains the windows_package resource.
On September 17, 2013 at 9:38:59 AM, Jens Skott ( "> ) wrote:
I downloaded the windows cookbook from opscode repo and added it to the windows machines runlist aswell as chef_handler cookbook that was a dependency.Then i made a quick test to install a package in windows withwindows_package "Nimsoft Robot x64" dooptions "/qn /norestart"action :installendBut it tells me that the resource is not found.
Jens SkottTel: +46-8-5142 4396Schibsted Centralen IT
On Tue, Sep 17, 2013 at 3:17 PM, Julian C. Dunn < " target="_blank"> > wrote:
On Tue, Sep 17, 2013 at 9:10 AM, Jens Skott < "> > wrote:Can you elaborate on "added the windows cookbook"?
> Hey.
> Just started playing around with chef for windows and it seems that i need
> to add providers to make it work the way I want it.
> Tried adding the windows cookbook to use windows_package, but it just tells
> me that resource not found.
>
> Can anyone give me some starting pointers how to use chef with windows
> efficient?
If you depend on the windows cookbook it should make windows_package
and all the other resources in the Windows cookbook available.
- Julian
Archive powered by MHonArc 2.6.16.