[chef] Re: Windows Chef - WMI Dependancy


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

On Thu, Aug 7, 2014 at 4:48 AM, Iain Prior < " target="_blank"> > wrote:

I’m having trouble with the “windows” cookbook: It appears that chef-client is trying to download the wmi dependency file from the internet. My problem is that my “clients” don’t have internet access, they need to get everything they are interested in from intranet resources. Please help/point me at the right place to start?

 

EDIT: I have managed to temporarily fix this by: knife cookbook delete windows 1.34.0

This has enabled the older version on the chef server 1.32 to become the used one.


What version of the Chef client are you using?

Chef 11.14.0+ and the Windows Cookbook 1.34.0+ switched from using the ruby-wmi gem to the wmi-lite. If you use Chef 11.14.2, it will already have the wmi-lite gem bundled with it, so version 1.34.0 of the windows cookbook won't need to download it.

That's the likely easiest solution to this specific problem.

What’s the right solution though?


In the general case, like Dan mentioned probably a local gem mirror.

Bryan



Archive powered by MHonArc 2.6.16.

§