diff options
author | danielsdeleo <dan@opscode.com> | 2013-10-24 13:12:46 -0700 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-10-24 13:17:02 -0700 |
commit | 28fadc62febbc9e6ba0c959518132dae2b2494cf (patch) | |
tree | 0e9e616a238005ba7f13731445b82e22783eb3e6 /lib/chef/application/solo.rb | |
parent | d2c805e50c552a347f5ac08e3fce898f6a86a9e0 (diff) | |
download | chef-28fadc62febbc9e6ba0c959518132dae2b2494cf.tar.gz |
Application::Solo must set @chef_client_json
A past refactor was incomplete, leaving references to chef_solo_json.
The contract with the superclass is that json data is set to
@chef_client_json
Diffstat (limited to 'lib/chef/application/solo.rb')
-rw-r--r-- | lib/chef/application/solo.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/application/solo.rb b/lib/chef/application/solo.rb index ba563ce3a8..47825a9701 100644 --- a/lib/chef/application/solo.rb +++ b/lib/chef/application/solo.rb @@ -165,7 +165,7 @@ class Chef::Application::Solo < Chef::Application :long => '--environment ENVIRONMENT', :description => 'Set the Chef Environment on the node' - attr_reader :chef_solo_json + attr_reader :chef_client_json def initialize super @@ -182,7 +182,7 @@ class Chef::Application::Solo < Chef::Application if Chef::Config[:json_attribs] config_fetcher = Chef::ConfigFetcher.new(Chef::Config[:json_attribs]) - @chef_solo_json = config_fetcher.fetch_json + @chef_client_json = config_fetcher.fetch_json end if Chef::Config[:recipe_url] |