Skip to main content

Chef/Style/IncludeRecipeWithParentheses

Cookstyle cops page

The Cookstyle cops department: Chef/Style

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll 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

NameDefault valueConfigurable values
Version Added6.11.0String
Include
    Array

    Thank you for your feedback!

    ×










    Search Results