Skip to content
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

adamleff
Copy link
Contributor

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.

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 <[email protected]>
Copy link
Contributor

@alexpop alexpop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great improvement, thanks Adam!

@alexpop alexpop merged commit 6015954 into master Jun 14, 2017
@chris-rock chris-rock deleted the adamleff/raise-when-dual-audit branch June 14, 2017 07:58
@chris-rock chris-rock added the Type: Enhancement Adds new functionality. label Jul 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Adds new functionality.
Development

Successfully merging this pull request may close these issues.

3 participants