Skip to main content

CookbookDependsOnCompatResource

The department is: CookbookDependsOnCompatResource

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

Enabled by default Supports autocorrection Target Chef Version
Enabled Yes 12.19+

do not depend on the deprecated compat_resource cookbook made obsolete by Chef Infra Client 12.19+.

Examples

incorrect

depends 'compat_resource'

Configurable attributes

Name Default value Configurable values
Version Added 5.1.0 String
Include
  • **/metadata.rb
Array

Was this page helpful?

×









Search Results