chef-workstation
chef-workstation copied to clipboard
shell_out isn't recognised as a valid command
Description
Chef InSpec is fails to recognise shell_out
from Mixlib::ShellOut
as a valid command. Originally Mixlib::ShellOut.new(cmd).run_command
is present, this is auto-corrected by cookstyle to shell_out(cmd)
https://github.com/chef/customer-bugs/issues/300
Chef Workstation Version
To be added
Platform Version
To be added
possibly related https://stackoverflow.com/questions/60047110/chef-library-testing-with-shell-out