The department is:
The full name of the cop is:
|Enabled by default||Supports autocorrection||Target Chef Version|
Libraries should be injected into the Chef::DSL::Recipe class and not Chef::Recipe or Chef::Provider classes directly.
::Chef::Recipe.send(:include, Filebeat::Helpers) ::Chef::Provider.send(:include, Filebeat::Helpers) ::Chef::Recipe.include Filebeat::Helpers ::Chef::Provider.include Filebeat::Helpers
::Chef::DSL::Recipe.send(:include, Filebeat::Helpers) # covers previous Recipe & Provider classes
|Name||Default value||Configurable values|
Was this page helpful?