Skip to main content

RequireRecipe

The department is: RequireRecipe

The full name of the cop is: Chef/Deprecations/RequireRecipe

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

Make sure to use include_recipe instead of require_recipe

Examples

incorrect

require_recipe 'foo'

correct

include_recipe 'foo'

Configurable attributes

NameDefault valueConfigurable values
Version Added5.2.0String
Include
    Array

    Was this page helpful?

    ×









    Search Results