summaryrefslogtreecommitdiff
path: root/lib/chef/client.rb
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-12-16 13:03:53 -0800
committertyler-ball <tyleraball@gmail.com>2014-12-17 18:52:25 -0800
commit19f7b0f1668e5801f44570f52285f8a1bde516c0 (patch)
treed53a3cf4d9ae3eeb923054ab1f6799887e8de796 /lib/chef/client.rb
parent5531cabf5640607874fd24c5e9c6006d848ec69b (diff)
downloadchef-19f7b0f1668e5801f44570f52285f8a1bde516c0.tar.gz
Unit tests for audit-mode in chef-solo.
* Audits are disabled by default. * Also, updated spec file to use RSpec :let.
Diffstat (limited to 'lib/chef/client.rb')
-rw-r--r--lib/chef/client.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/client.rb b/lib/chef/client.rb
index 634773cf80..77f63671d7 100644
--- a/lib/chef/client.rb
+++ b/lib/chef/client.rb
@@ -338,7 +338,8 @@ class Chef
converge_exception
end
- # TODO don't want to change old API
+ # We don't want to change the old API on the `converge` method to have it perform
+ # saving. So we wrap it in this method.
def converge_and_save(run_context)
converge_exception = converge(run_context)
unless converge_exception