Commit 505f1b9b authored by Cookstyle Bot's avatar Cookstyle Bot
Browse files

Cookstyle Bot Auto Corrections with Cookstyle 6.17.7


This change is automatically generated by the Cookstyle Bot using the latest version of Cookstyle (6.17.7). 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.
Signed-off-by: default avatarCookstyle <cookbooks@chef.io>
parent 8d812f0d
......@@ -44,6 +44,6 @@ module Apt
end
end
Chef::Recipe.include ::Apt::Helpers
Chef::DSL::Recipe.include ::Apt::Helpers
Chef::Resource.include ::Apt::Helpers
Chef::Provider.include ::Apt::Helpers
Chef::DSL::Recipe.include ::Apt::Helpers
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment