New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail Chef run if Audit Mode is enabled #238

Merged
merged 1 commit into from Jun 14, 2017

Conversation

Projects
None yet
3 participants
@adamleff
Collaborator

adamleff commented Jun 12, 2017

Chef's Audit Mode and InSpec (via the audit cookbook) are not compatible to be run simultaneously. This change raises an exception if the audit cookbook is attempted to be run on a node on which Chef's Audit mode is not disabled.

Fail Chef run if Audit Mode is enabled
Chef's Audit Mode and InSpec (via the audit cookbook) are not compatible
to be run simultaneously. This change raises an exception if the audit
cookbook is attempted to be run on a node on which Chef's Audit mode
is not disabled.

Signed-off-by: Adam Leff <adam@leff.co>
@alexpop

Great improvement, thanks Adam!

@alexpop alexpop merged commit 6015954 into master Jun 14, 2017

2 checks passed

DCO This commit has a DCO Signed-off-by
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@alexpop alexpop removed the in progress label Jun 14, 2017

@chris-rock chris-rock deleted the adamleff/raise-when-dual-audit branch Jun 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment