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_if_not_present doesn't work #166

omgroves opened this issue Nov 21, 2016 · 1 comment · Fixed by #180


Copy link

commented Nov 21, 2016

Cookbook version


Chef-client version


Platform Details

CentOS 7.2, Chef Server 12


If the compliance profile does not exist and the attribute ['audit']['fail_if_not_present'] is TRUE, the cookbook should failed to converge. This does not happen. Everything converges as normal, but no compliance profiles are run.

Steps to Reproduce:

Run audit cookbook with fail_if_not_present set to true and a non-existent compliance profile in ['audit']['profiles']

Expected Result:

Should fail to converge

Actual Result:

Does not fail to converge

@chris-rock chris-rock added the Type: Bug label Dec 1, 2016


This comment has been minimized.

Copy link

commented Dec 1, 2016

@omgroves Thank you for reporting that issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.