summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Bogatyrev <realloc@clodo.ru>2014-06-19 17:21:09 +0400
committerBryan McLellan <btm@loftninjas.org>2014-08-29 08:01:46 -0400
commit0679cf742c50bc4381b98a9d1b6820c024e524da (patch)
treedaa183a696e3c2439cc3b2495f887f4e4d2aeecd
parent5a50038c4ff17195f010cff10d76b0d0929a77c9 (diff)
downloadchef-0679cf742c50bc4381b98a9d1b6820c024e524da.tar.gz
Add comment about order
-rw-r--r--lib/chef/application/solo.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb
index 6140b9e589..a55882bef1 100644
--- a/lib/chef/application/solo.rb
+++ b/lib/chef/application/solo.rb
@@ -200,6 +200,8 @@ class Chef::Application::Solo < Chef::Application
Chef::Mixin::Command.run_command(:command => "tar zxvf #{path} -C #{recipes_path}")
end
+ # json_attribs shuld be fetched after recipe_url tarball is unpacked.
+ # Otherwise it may fail if points to local file from tarball.
if Chef::Config[:json_attribs]
config_fetcher = Chef::ConfigFetcher.new(Chef::Config[:json_attribs])
@chef_client_json = config_fetcher.fetch_json