Skip to main content

Chef/Deprecations/CookbookDependsOnCompatResource

Cookstyle cops page

The Cookstyle cops department: Chef/Deprecations

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYes12.19+

Don’t depend on the deprecated compat_resource cookbook made obsolete by Chef Infra Client 12.19+.

Examples

incorrect

depends 'compat_resource'

Configurable attributes

NameDefault valueConfigurable values
Version Added5.1.0String
Include
  • **/metadata.rb
Array

Thank you for your feedback!

×