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 default Supports autocorrection Target Chef Version
Enabled Yes All 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

Name Default value Configurable values
Version Added 5.3.0 String
Exclude
  • **/metadata.rb
Array

Was this page helpful?

×









Search Results