Skip to main content

DependsOnChefNginxCookbook

The department is: DependsOnChefNginxCookbook

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

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

do not 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