Skip to main content

Chef/Modernize/UseBuildEssentialResource

Cookstyle cops page

The Cookstyle cops department: Chef/Modernize

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
Include
    Array

    Thank you for your feedback!

    ×









    Search Results