This change is automatically generated by the Cookstyle Bot using the latest version of Cookstyle (6.17.6). Adopting changes suggested by Cookstyle improves cookbook readability, avoids common coding mistakes, and eases upgrades to newer versions of the Chef Infra Client.
ChefCorrectness/IncorrectLibraryInjection
/libraries/helpers.rb:47: Libraries should be injected into the Chef::DSL::Recipe class and not Chef::Recipe or Chef::Provider classes directly.
/libraries/helpers.rb:49: Libraries should be injected into the Chef::DSL::Recipe class and not Chef::Recipe or Chef::Provider classes directly.
This change is automatically generated by the Cookstyle Bot using the latest version of Cookstyle (6.17.6). Adopting changes suggested by Cookstyle improves cookbook readability, avoids common coding mistakes, and eases upgrades to newer versions of the Chef Infra Client.
ChefCorrectness/IncorrectLibraryInjection
Signed-off-by: Cookstyle cookbooks@chef.io