Chef/Style/IncludeRecipeWithParentheses
The Cookstyle cops department: Chef/Style
| Enabled by default | Supports autocorrection | Target Chef Version |
|---|---|---|
| Enabled | Yes | All Versions |
There is no need to wrap the recipe in parentheses when using the include_recipe helper.
Examples
incorrect
include_recipe('foo::bar')
correct
include_recipe 'foo::bar'
Configurable attributes
| Name | Default value | Configurable values |
|---|---|---|
| Version Added | 6.11.0 | String |
| Include | Array |