Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Include handler in exception handlers as well as report handlers #290
Run audits on CCR fail.
This seems like a reasonable change to me. It could probably use a bit of manual testing to confirm expected behavior.
Only drawback is if the CCR failed during the actual audit cookbook itself (i.e. installing the inspec gem), the errors generated by the handler failure may noisily shadow the actual error that caused the handler to fail to work properly in the first place (i.e. the gem failure will be many many many lines north of the handler failure that would be generated if inspec wasn't present on the system). However, it would be no less broken (and no additional data lost) as compared to the current state of affairs.