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

Update inspec cli calls to use --no-distinct-ext #45

Open
jquick opened this issue Sep 28, 2018 · 0 comments
Open

Update inspec cli calls to use --no-distinct-ext #45

jquick opened this issue Sep 28, 2018 · 0 comments

Comments

@jquick
Copy link

jquick commented Sep 28, 2018

Update the code that executes the inspec cli to pass in the --no-distinct-exit, this will change the inspec cli to have the previous behavior where a successful pass always exists with 0 even if controls are skipped. https://github.com/chef-cookbooks/delivery-sugar/blob/f7f33c751401be51316a51fef2db31b6a0907cbb/libraries/delivery_inspec.rb#L112 and https://github.com/chef-cookbooks/delivery-sugar/blob/f7f33c751401be51316a51fef2db31b6a0907cbb/libraries/delivery_inspec.rb#L139

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

No branches or pull requests

1 participant