UseBuildEssentialResource
The department is: UseBuildEssentialResource
The full name of the cop is: Chef/Modernize/UseBuildEssentialResource
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | All 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
Name | Default value | Configurable values |
---|---|---|
Version Added | 5.1.0 | String |
Include | Array |