RequireRecipe
The department is: RequireRecipe
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 |
Include | Array |
Was this page helpful?