Skip to main content

UsesDeprecatedMixins

All Cookstyle Cops


The department is: Chef/Deprecations

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

Was this page helpful?









Search Results