diff options
author | Adam Leff <adam@leff.co> | 2016-06-28 11:24:23 -0400 |
---|---|---|
committer | Adam Leff <adam@leff.co> | 2016-06-28 16:02:41 -0400 |
commit | 3f6db5dc96b5ecb552a491e77730356e8df2021d (patch) | |
tree | 1ab2389d92d013ac83f7b0919c175f17a9a8eeaf /lib/chef/data_collector.rb | |
parent | 945f23be7a43d90ae7ed402d05363b3ff0c11bff (diff) | |
download | chef-3f6db5dc96b5ecb552a491e77730356e8df2021d.tar.gz |
Adding node object to run_converge message, include ignore_failure property
Many use cases that involve consuming the run_converge messages and
displaying them to end users include needing additional data about
the node that generated the run_converge message. This change
consolidates the run_converge and node_update message into a single
message making it easier for users to filter run_converge messages
based on attributes and criteria of the node itself.
Additionally, the ignore_failure property on a resource is now
included for each resource in the resource list so end users can
decided whether the failure was a hard failure or a soft failure.
Diffstat (limited to 'lib/chef/data_collector.rb')
-rw-r--r-- | lib/chef/data_collector.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/data_collector.rb b/lib/chef/data_collector.rb index e7ef8d39ec..d307fff2ba 100644 --- a/lib/chef/data_collector.rb +++ b/lib/chef/data_collector.rb @@ -279,7 +279,6 @@ class Chef # we have nothing to report. return unless run_status - send_to_data_collector(Chef::DataCollector::Messages.node_update_message(run_status).to_json) send_to_data_collector( Chef::DataCollector::Messages.run_end_message( run_status: run_status, |