Chef/Deprecations/UsesDeprecatedMixins
The Cookstyle cops department: Chef/Deprecations
Enabled by default | Supports autocorrection | Target Chef Version |
---|---|---|
Enabled | Yes | All Versions |
Don’t use deprecated Mixins no longer included in Chef Infra Client 14 and later.
Examples
incorrect
include Chef::Mixin::LanguageIncludeAttribute
include Chef::Mixin::RecipeDefinitionDSLCore
include Chef::Mixin::LanguageIncludeRecipe
include Chef::Mixin::Language
include Chef::DSL::Recipe::FullDSL
require 'chef/mixin/language'
require 'chef/mixin/language_include_attribute'
require 'chef/mixin/language_include_recipe'
Configurable attributes
Name | Default value | Configurable values |
---|---|---|
Version Added | 5.4.0 | String |
Include |
| Array |