Skip to main content

UsesDeprecatedMixins

The department is: UsesDeprecatedMixins

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

Enabled by defaultSupports autocorrectionTarget Chef Version
EnabledYesAll 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

NameDefault valueConfigurable values
Version Added5.4.0String
Include
  • **/libraries/*.rb
  • **/providers/*.rb
  • **/resources/*.rb
Array

Thank you for your feedback!

×









Search Results