Hello InSpec friends!
We are delighted to announce the availability of version 5.22.50 of Chef InSpec. Changes include:
Bug Fixes
- Fixed the
virtualization.virtual_system?helper in the virtualization resource to correctly returntrueif run against a Podman container. (#6949) - Silenced warnings about transforming the URL fetcher into the git fetcher when executing profiles from a Git repository. This message is now added to the debug log. (#6956)
- Fixed the
Uninitialized constant Parser::AST::Processor::Mixinerror with the Parser gem dependency. (#7036) - Fixed an error with the URL fetcher which failed to work when the current directory is not a Git repository. (#7023)
Improvements
-
Updated the output of the
cmpmatcher when a control fails while using a negation such as 'should_not'. (#6986)For example, if the value of
keyis3, then this fails:its(key) { should_not cmp "3" }and returns this output:
expected: 3 got: 3The updated output returns:
expected it not to be == "3" got: 3Thanks @Taknok!
Get the Build
You can download binaries directly from Chef Downloads.