[chef] Re: Re: Re: Re: Windows Chef - WMI Dependancy


Chronological Thread 
  • From: Amit Dattani < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Windows Chef - WMI Dependancy
  • Date: Fri, 8 Aug 2014 09:29:54 +0100

Hi Bryan,

Thanks for this information. Will use this workaround until 11.14.4 (which should address this) is released.

Amit


On 7 August 2014 17:59, Bryan McLellan < " target="_blank"> > wrote:
On Thu, Aug 7, 2014 at 12:19 PM, Amit Dattani < " target="_blank"> > wrote:
Originally I was getting the ruby-wmi error. But since pulling in the windows 1.34.1 cookbook this is now gone and am only getting errors when trying to set the env['PATH']

Yup, the path bug will be fixed in an upcoming patch release. The fix is being worked on here: https://github.com/opscode/chef/pull/1774

When you bootstrap a node you can specify which version of Chef to install, e.g. "knife bootstrap HOSTNAME --bootstrap-version 11.12.8" or "knife ec2 server create --bootstrap-version 11.2.8"


Then you could use an older version of the Windows cookbok that still used ruby-wmi, together with an older version of chef that still used ruby-wmi, and wait for the path bug to be fixed and released.

Bryan






Archive powered by MHonArc 2.6.16.

§