Method: Chef::Compliance::Runner#run_failed
- Defined in:
- lib/chef/compliance/runner.rb
#run_failed(_exception, _run_status) ⇒ Object
77 78 79 80 81 82 83 84 85 86 |
# File 'lib/chef/compliance/runner.rb', line 77 def run_failed(_exception, _run_status) # If the run has failed because our own validation of compliance # phase configuration has failed, we don't want to submit a report # because we're still not configured correctly. return unless enabled? && @validation_passed logger.debug("#{self.class}##{__method__}: enabling Compliance Phase") report_with_interval end |