Open walterdolce opened 5 years ago
More to the above, which will hopefully help speeding up the resolution for this...
The problem is around here: https://github.com/inspec/kitchen-inspec/blob/master/lib/kitchen/verifier/inspec.rb#L121-L125
Hold on fire on this. It might be my machine which is misconfigured 😒 Closing for now while I investigate further. Will reopen if needed...
OK. I cleared my system of all the versions of Ruby I had installed with rbenv
, leaving only one and the problem persists. Reopening.
Adding require "hashie"
fixes the problem. I assume no unit/integration tests were in place for this scenario.
I'm going to PR this soon.
I'm having this issue too
same issue here
PR is ready. Just need maintainers to review & accept. Use my branch in the meantime if that's blocking you.
Bump
Version:
Environment:
macOS
Scenario:
Trying to run
bundle exec kitchen verify
Steps to Reproduce:
Create a
.kitchen.yml
and add the following bits to it:Expected Result:
test-kitchen fires the inspec verifier as normal (doesn't matter whether the tests pass or not)
Actual Result:
[What actually happens after the reproduction steps?] ❓
Note: by commenting out the
inputs
section, the problem goes away. I can run inspec normally.