Skip to main content

UsesDeprecatedMixins

The department is: UsesDeprecatedMixins

The full name of the cop is: Chef/Deprecations/UsesDeprecatedMixins

Enabled by default Supports autocorrection Target Chef Version
Enabled Yes All Versions

do not 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
  • **/libraries/*.rb
  • **/providers/*.rb
  • **/resources/*.rb
Array

Was this page helpful?

×









Search Results