Skip to main content

IncludingWindowsDefaultRecipe

All Cookstyle Cops


The department is: Chef/Modernize

The full name of the cop is: Chef/Modernize/IncludingWindowsDefaultRecipe


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
Exclude
  • **/metadata.rb
Array

Was this page helpful?









Search Results