Skip to main content

UseBuildEssentialResource

All Cookstyle Cops


The department is: Chef/Modernize

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


Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll Versions

Use the build_essential resource from the build-essential cookbook 5.0+ or Chef Infra Client 14+ instead of using the build-essential::default recipe.

Examples

incorrect

depends 'build-essential'
include_recipe 'build-essential::default'
include_recipe 'build-essential'

correct

build_essential 'install compilation tools'

Configurable attributes

NameDefault valueConfigurable values
Version Added5.1.0String
Exclude
  • **/metadata.rb
Array

Was this page helpful?









Search Results