diff options
author | Bryan McLellan <btm@opscode.com> | 2012-12-04 11:44:21 -0800 |
---|---|---|
committer | Bryan McLellan <btm@opscode.com> | 2012-12-04 11:44:21 -0800 |
commit | f932caa055e7e8bbdb01508c892fab3fbe6d9124 (patch) | |
tree | 19827c4370a76680519a6c7d6cdd4fa1b9a9e544 | |
parent | d47f40e6e14da337365fff68fb160b739fc3a6d5 (diff) | |
parent | c74baca33c18d635f9b51fc50b9814e4b49db3cb (diff) | |
download | chef-f932caa055e7e8bbdb01508c892fab3fbe6d9124.tar.gz |
Merge branch 'CHEF-3650' into 10-stable
-rw-r--r-- | chef/lib/chef/formatters/doc.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chef/lib/chef/formatters/doc.rb b/chef/lib/chef/formatters/doc.rb index e5b2ab17d7..6a969404c1 100644 --- a/chef/lib/chef/formatters/doc.rb +++ b/chef/lib/chef/formatters/doc.rb @@ -21,7 +21,7 @@ class Chef end def run_completed(node) - if Chef::Config[:whyrun] + if Chef::Config[:why_run] puts "Chef Client finished, #{@updated_resources} resources would have been updated" else puts "Chef Client finished, #{@updated_resources} resources updated" @@ -29,7 +29,7 @@ class Chef end def run_failed(exception) - if Chef::Config[:whyrun] + if Chef::Config[:why_run] puts "Chef Client failed. #{@updated_resources} resources would have been updated" else puts "Chef Client failed. #{@updated_resources} resources updated" |