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
/recipes/default.rb:19: 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