Skip to main content

Deprecation: Legacy HWRP mixins (CHEF-23)

[edit on GitHub]

In Chef Client 14 several legacy mixins will be removed. Usage of these mixins has resulted in deprecation warnings for several years. They were traditionally used in some HWRPs, but are rarely found in code available on the Supermarket.

The Cookstyle cop ChefDeprecations/UsesDeprecatedMixins has been introduced to detect these mixins:

  • Chef::Mixin::LanguageIncludeAttribute
  • Chef::Mixin::RecipeDefinitionDSLCore
  • Chef::Mixin::LanguageIncludeRecipe
  • Chef::Mixin::Language
  • Chef::DSL::Recipe::FullDSL

Was this page helpful?

×









Search Results