mirror of
https://github.com/inspec/inspec
synced 2024-11-23 05:03:07 +00:00
b17be1a73c
* Enhance `package` resource error handling This does the following: - Modifies `info` to return an empty hash instead of `nil` - Adds a failure case if package name is not specified - Adds a skip case if no package manager can be found - Changes `skip_resource` to use the `ResourceSkipped` exception - Raises an error if JSON parsing fails for Windows/MacOS/Darwin Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Make RuboCop happy Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Change missing argument behavior Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Remove unnecessary boolean check Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> |
||
---|---|---|
.. | ||
cookbooks/os_prepare | ||
functional | ||
integration | ||
unit | ||
docker_run.rb | ||
docker_test.rb | ||
helper.rb |