Chef/Deprecations/RequireRecipe
The Cookstyle cops department: Chef/Deprecations
| 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 |