Skip to main content

CookbookDependsOnCompatResource

All Cookstyle Cops


The department is: Chef/Deprecations

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

Was this page helpful?