Skip to main content

CookbookDependsOnCompatResource

The department is: CookbookDependsOnCompatResource

The full name of the cop is: Chef/Deprecations/CookbookDependsOnCompatResource

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!

×









Search Results