Chef/Deprecations/DependsOnChefNginxCookbook
The Cookstyle cops department: Chef/Deprecations
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | All 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
Name | Default value | Configurable values |
---|---|---|
Version Added | 7.20.0 | String |
Include |
| Array |