diff options
author | Stanislav Bogatyrev <realloc@clodo.ru> | 2014-06-19 17:21:09 +0400 |
---|---|---|
committer | Bryan McLellan <btm@loftninjas.org> | 2014-08-29 08:01:46 -0400 |
commit | 0679cf742c50bc4381b98a9d1b6820c024e524da (patch) | |
tree | daa183a696e3c2439cc3b2495f887f4e4d2aeecd | |
parent | 5a50038c4ff17195f010cff10d76b0d0929a77c9 (diff) | |
download | chef-0679cf742c50bc4381b98a9d1b6820c024e524da.tar.gz |
Add comment about order
-rw-r--r-- | lib/chef/application/solo.rb | 2 |
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 |