Method: Chef::Handler::ErrorReport#report
- Defined in:
- lib/chef/handler/error_report.rb
#report ⇒ Object
26 27 28 29 |
# File 'lib/chef/handler/error_report.rb', line 26 def report Chef::FileCache.store("failed-run-data.json", Chef::JSONCompat.to_json_pretty(data), 0640) Chef::Log.fatal("Saving node information to #{Chef::FileCache.load("failed-run-data.json", false)}") end |