This change is automatically generated by the Cookstyle Bot using the latest version of Cookstyle (6.15.9). Adopting changes suggested by Cookstyle improves cookbook readability, avoids common coding mistakes, and eases upgrades to newer versions of the Chef Infra Client.
ChefModernize/ShellOutHelper
/libraries/helpers.rb:9: Use the built-in shell_out helper available in Chef Infra Client 12.11+ instead of calling Mixlib::ShellOut.new('foo').run_command.
This change is automatically generated by the Cookstyle Bot using the latest version of Cookstyle (6.15.9). Adopting changes suggested by Cookstyle improves cookbook readability, avoids common coding mistakes, and eases upgrades to newer versions of the Chef Infra Client.
ChefModernize/ShellOutHelper
shell_out
helper available in Chef Infra Client 12.11+ instead of callingMixlib::ShellOut.new('foo').run_command
.Signed-off-by: Cookstye cookbooks@chef.io