Anyone get this working? I have tried various things, but keep running in to an issue where the tar command to extract the cookbooks fails with:
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/mixin/command.rb:141:in block in ou tput_of_command': undefined methodexitstatus’ for nil:NilClass (NoMethodError)
from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/mixin/command.rb:122:in chdir' from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/mixin/command.rb:122:inoutput_of_command’
from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/mixin/command.rb:101:in run_command_and_return_stdout_stderr' from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/mixin/command.rb:79:inrun_command’
from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/application/solo.rb:200
:in reconfigure' from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/lib/chef/application.rb:65:inr
un’
from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32/bin/chef-solo:25:in <top (requi red)>' from c:/opscode/chef/bin/chef-solo:23:inload’
from c:/opscode/chef/bin/chef-solo:23:in `’
Digging through the code there is nothing that jumps out at me. The interesting thing is that if I do a pry break in the method which causes a delay in processing, then it works. So seems like there is a weird race condition in here.
Just curious if others have tried to get this working and have a solution?
Anyone get this working? I have tried various things, but keep running in
to an issue where the tar command to extract the cookbooks fails with:
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32
/lib/chef/mixin/command.rb:141:in block in ou tput_of_command': undefined methodexitstatus’ for nil:NilClass
(NoMethodError)
from
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32
/lib/chef/mixin/command.rb:122:in chdir' from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32 /lib/chef/mixin/command.rb:122:inoutput_of_command’
from
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32
/lib/chef/mixin/command.rb:101:in run_command_and_return_stdout_stderr' from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32 /lib/chef/mixin/command.rb:79:inrun_command’
from
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32
/lib/chef/application/solo.rb:200
:in reconfigure' from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32 /lib/chef/application.rb:65:inr un’
from
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32
/bin/chef-solo:25:in <top (requi red)>' from c:/opscode/chef/bin/chef-solo:23:inload’
from c:/opscode/chef/bin/chef-solo:23:in `’
Digging through the code there is nothing that jumps out at me. The
interesting thing is that if I do a pry break in the method which causes a
delay in processing, then it works. So seems like there is a weird race
condition in here.
Just curious if others have tried to get this working and have a solution?
Anyone get this working? I have tried various things, but keep running in
to an issue where the tar command to extract the cookbooks fails with:
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32
/lib/chef/mixin/command.rb:141:in block in ou tput_of_command': undefined method exitstatus' for nil:NilClass
(NoMethodError)
from
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32
/lib/chef/mixin/command.rb:122:in chdir' from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32 /lib/chef/mixin/command.rb:122:in output_of_command'
from
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32
/lib/chef/mixin/command.rb:101:in run_command_and_return_stdout_stderr' from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32 /lib/chef/mixin/command.rb:79:in run_command'
from
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32
/lib/chef/application/solo.rb:200
:in reconfigure' from c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32 /lib/chef/application.rb:65:in r un'
from
c:/opscode/chef/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.4-x86-mingw32
/bin/chef-solo:25:in <top (requi red)>' from c:/opscode/chef/bin/chef-solo:23:in load'
from c:/opscode/chef/bin/chef-solo:23:in `'
Digging through the code there is nothing that jumps out at me. The
interesting thing is that if I do a pry break in the method which causes a
delay in processing, then it works. So seems like there is a weird race
condition in here.
Just curious if others have tried to get this working and have a solution?