- From: "Moser, Kevin" <
>
- To: "
" <
>
- Subject: [chef] recipe_url with windows
- Date: Wed, 30 Jul 2014 17:07:06 +0000
- Accept-language: en-US
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 `<main>’
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?
Thanks!!
Kevin
- [chef] recipe_url with windows, Moser, Kevin, 07/30/2014
Archive powered by MHonArc 2.6.16.