Re: Windows Chef - WMI Dependancy

Chef-rewind (https://github.com/bryanwb/chef-rewind) and a generous helping of wrapper cookbooks might help.

From: Iain Prior <iain.prior@gac.commailto:iain.prior@gac.com>
Reply-To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Date: Thursday, August 7, 2014 at 3:48 AM
To: "chef@lists.opscode.commailto:chef@lists.opscode.com" <chef@lists.opscode.commailto:chef@lists.opscode.com>
Subject: [chef] Windows Chef - WMI Dependancy

Hi all

I’m new here, but very eager to learn!

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’s the right solution though?

Thanks!
Iain

[2014-08-07T08:56:11+04:00] INFO: Processing chef_gem[wmi-lite] action install (
dynamically defined)
[2014-08-07T08:56:32+04:00] WARN: failed to find gem wmi-lite (>= 0) from [http
://rubygems.org/]
[2014-08-07T08:56:32+04:00] ERROR: Running exception handlers
[2014-08-07T08:56:32+04:00] ERROR: Exception handlers complete
[2014-08-07T08:56:32+04:00] FATAL: Stacktrace dumped to c:/chef/cache/chef-stack
trace.out
[2014-08-07T08:56:32+04:00] ERROR: ArgumentError: chef_gem[wmi-lite] (dynamicall
y defined) had an error: ArgumentError: Illformed requirement [""]
[2014-08-07T08:56:32+04:00] ERROR: Sleeping for 60 seconds before trying again

CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner’s corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.