Skip to main content

CookbookDependsOnPoise

All Cookstyle Cops


The department is: Chef/Deprecations

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


Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledNoAll Versions

Cookbooks should not depend on the deprecated Poise framework cookbooks. They should instead be refactored to use standard Chef Infra custom resources.

Examples

incorrect

depends 'poise'
depends 'poise-service'

Configurable attributes

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

Was this page helpful?