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


Chronological Thread 
  • From: Bryan McLellan < >
  • To: " " < >
  • Subject: [chef] Re: Re: Re: Windows Chef - WMI Dependancy
  • Date: Thu, 7 Aug 2014 12:59:17 -0400

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.

§