Skip to main content

Chef/Modernize/IncludingWindowsDefaultRecipe

Cookstyle cops page

The Cookstyle cops department: Chef/Modernize

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

Don’t include the windows default recipe that is either full of gem install that are part of the Chef Infra Client, or empty (depends on version).

Examples

incorrect

include_recipe 'windows::default'
include_recipe 'windows'

Configurable attributes

NameDefault valueConfigurable values
Version Added5.3.0String
Include
    Array

    Thank you for your feedback!

    ×