Skip to main content

IncludeRecipeWithParentheses

The department is: IncludeRecipeWithParentheses

The full name of the cop is: Chef/Style/IncludeRecipeWithParentheses

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

Was this page helpful?

×









Search Results