Skip to main content

DependsOnChefNginxCookbook

All Cookstyle Cops


The department is: Chef/Deprecations

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


Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

Don’t depend on the deprecated chef_nginx cookbook that was replaced by the nginx cookbook. The legacy chef_nginx cookbook may not be compatible with newer Chef Infra Client releases.

Examples

incorrect

depends 'chef_nginx'

correct

depends 'nginx'

Configurable attributes

NameDefault valueConfigurable values
Version Added7.20.0String
Include
  • **/metadata.rb
Array

Was this page helpful?

×








Search Results