Skip to main content

Chef/Deprecations/UsesDeprecatedMixins

Cookstyle cops page

The Cookstyle cops department: Chef/Deprecations

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