[chef] Re: Re: Re: Windows providers


Chronological Thread 
  • From: Tim Green < >
  • To: , Jens Skott < >
  • Subject: [chef] Re: Re: Re: Windows providers
  • Date: Tue, 17 Sep 2013 09:38:59 -0400

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 with 
windows_package "Nimsoft Robot x64" do
    options "/qn /norestart"
    action :install
end

But it tells me that the resource is not found.




Jens Skott 
Tel: +46-8-5142 4396
Schibsted 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:
> 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?

Can you elaborate on "added the windows cookbook"?

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.

§