[chef] Problem bootstraping chef-client to Windows machines


Chronological Thread 
  • From: Carlos Camacho < >
  • To: " " < >
  • Subject: [chef] Problem bootstraping chef-client to Windows machines
  • Date: Mon, 4 Aug 2014 14:44:13 +0200

Hello im bootstrapping new machines with chef, and today im receiving
this new error:


Command:
knife bootstrap windows winrm IP -r 'role[windows]' -x Administrator
-P 'PASS' -N nodename


chef-client(11.14.2)

chef-stacktrace.out
Generated at 2014-08-04 12:35:34 +0000
LoadError: cannot load such file -- ruby-wmi
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in
`require'
C:/opscode/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in
`require'
c:/chef/cache/cookbooks/windows/libraries/registry_helper.rb:27:in
`<top (required)>'
.
.
.

C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.2-x86-mingw32/lib/chef/application.rb:55:in
`run'
C:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.14.2-x86-mingw32/bin/chef-client:26:in
`<top (required)>'
C:/opscode/chef/bin/chef-client:23:in `load'
C:/opscode/chef/bin/chef-client:23:in `<main>'


Its a  problem with ruby-wmi as its not installed when the client its
installed..

Anything has changed with this chef-client version?

Regards,

Carlos



Archive powered by MHonArc 2.6.16.

§