RequireRecipe
The department is: Chef/Deprecations
The full name of the cop is: Chef/Deprecations/RequireRecipe
| Enabled by default | Supports autocorrection | Target Chef Version |
|---|---|---|
| Enabled | Yes | All Versions |
Make sure to use include_recipe instead of require_recipe
Examples
incorrect
require_recipe 'foo'
correct
include_recipe 'foo'
Configurable attributes
| Name | Default value | Configurable values |
|---|---|---|
| Version Added | 5.2.0 | String | Exclude |
| Array |
Was this page helpful?