- From: Adam Edwards <
>
- To:
- Subject: [chef] RE: recipe_url with windows
- Date: Wed, 30 Jul 2014 10:58:14 -0700
Kevin, this looks like the following known issue that is being worked on
now. Does this only repro for you with chef-solo Kevin?
https://github.com/opscode/chef/issues/1515
https://tickets.opscode.com/browse/CHEF-5333
I'm not aware of workarounds at the moment, though if it's a chef-solo
thing my first suggestion is to try chef local mode.
Kevin, I'm sorry that you're hitting this problem.
-Adam
-----Original Message-----
From: Moser, Kevin
[mailto:
Sent: Wednesday, July 30, 2014 10:07 AM
To:
Subject: [chef] recipe_url with windows
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
Archive powered by MHonArc 2.6.16.