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 · Fixed by #313
Closed

Support ChefClient 14 #312

jquick opened this issue Apr 11, 2018 · 1 comment · Fixed by #313

Comments

@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
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() }"

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

Successfully merging a pull request may close this issue.

2 participants