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

Support ChefClient 14 #312

Closed
jquick opened this Issue Apr 11, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@jquick
Copy link
Contributor

jquick commented Apr 11, 2018

The Audit cookbook currently is only compatible with ChefClient 13. This has to do with the new handling of inspec version variables. We need to update this codebase to support ChefClient 14 as well as being backwords compatible with 13.

@wamoore

This comment has been minimized.

Copy link

wamoore commented Apr 12, 2018

I was able to work around the issue by running the following on all nodes. You still can't pin the inspec_version afterwards but it won't try to install a version newer than the one installed with chef-client. It's a workaround anyway.

knife exec -E "nodes.transform(:all) {|n| n.set['audit']['inspec_version']=nil;n.save() }"

@jquick jquick referenced this issue Apr 18, 2018

Merged

Update Audit cookbook to support ChefClient 14 #313

4 of 4 tasks complete

@jquick jquick closed this in #313 Apr 19, 2018

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