[chef] RE: Re: RE: Re: Ruby Gems


Chronological Thread 
  • From: Simon Hawkins < >
  • To: " " < >
  • Subject: [chef] RE: Re: RE: Re: Ruby Gems
  • Date: Thu, 26 Mar 2015 08:41:21 +0000
  • Accept-language: en-GB, en-US
  • Authentication-results: lists.opscode.com; dkim=none (message not signed) header.d=none;

Hi Daniel,

Thanks for that. :)

When I try and download it (knife download cookbook windows) I get this:

Which version do you want to download?
1. windows 1.30.2
2. windows 1.31.0

I assume I have to update my chef-repo to get the latest version?

Cheers,
Simon
-----Original Message-----
From: Daniel DeLeo 
[mailto:
 On Behalf Of Daniel DeLeo
Sent: 25 March 2015 18:35
To: 

Subject: [chef] Re: RE: Re: Ruby Gems



On Wednesday, March 25, 2015 at 11:31 AM, Daniel DeLeo wrote:

> On Wednesday, March 25, 2015 at 9:12 AM, Simon Hawkins wrote:
> > Hi Daniel,
> >
> > I think it is this version which causes the error:
> >
> > windows 1.31.0
> >
> > I guess I can install wmi-lite on my chef workstation and change the 
> > dependency in the windows cookbook?
> >
> > Cheers,
> >
> > Simon
>
> The wmi-lite gem will be installed automatically when you install chef on 
> windows. Just changing the dependency in the windows cookbook is unlikely 
> to work without further changes to update other code to use wmi-lite and 
> it’s possible that wmi-lite is missing some functionality used by the 
> cookbook. I’ve reached out to my colleagues who are more familiar with the 
> windows cookbook to help answer your question, but for now if you install 
> the `ruby-wmi` gem it should work around the problem for the time being.
>
>
> --
> Daniel DeLeo

I asked a colleague and he said the version of the cookbook you’re using 
doesn’t work with current versions of Chef. Looks like the current version is 
1.36.6. Can you try using the latest?

https://github.com/opscode-cookbooks/windows/blob/master/metadata.rb

--
Daniel DeLeo



________________________________


Disclaimer

This message is intended only for the use of the person(s) ("Intended 
Recipient") to whom it is addressed. It may contain information which is 
privileged and confidential. Accordingly any dissemination, distribution, 
copying or other use of this message or any of its content by any person 
other than the Intended Recipient may constitute a breach of civil or 
criminal law and is strictly prohibited. If you are not the Intended 
Recipient, please contact the sender as soon as possible.

Totaljobs Group Limited Registered Office: Bluefin Building, 110 Southwark 
Street, London, SE1 0TA, UK Registered in England and Wales under company no. 
4269861

________________________________



Archive powered by MHonArc 2.6.16.

§