Skip to main content

Chef/Deprecations/DependsOnChefNginxCookbook

Cookstyle cops page

The Cookstyle cops department: Chef/Deprecations

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

Thank you for your feedback!

×










Search Results