Skip to main content

Chef/Deprecations/RequireRecipe

Cookstyle cops page

The Cookstyle cops department: Chef/Deprecations

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

    Thank you for your feedback!

    ×