[chef] Windows Chef - WMI Dependancy


Chronological Thread 
  • From: Iain Prior < >
  • To: " " < >
  • Subject: [chef] Windows Chef - WMI Dependancy
  • Date: Thu, 7 Aug 2014 09:48:05 +0100
  • Accept-language: en-US, sv-SE
  • Acceptlanguage: en-US, sv-SE

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




Archive powered by MHonArc 2.6.16.

§