- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Windows Chef - WMI Dependancy
- Date: Thu, 7 Aug 2014 08:46:42 -0700
On Thursday, August 7, 2014 at 1:48 AM, Iain Prior wrote:
>
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/] (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
You can:
* download the gem manually and create a cookbook to install it
* run a gem mirror of some sort
* allow access to rubygems.org in your firewall or via proxy server.
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.