User Tools

Site Tools


chef_recipe_dsl

Table of Contents

Chef Recipe DSL

Return to Chef, Puppet DSL or DSL

“The Recipe DSL is a Ruby DSL that is primarily used to declare resources from within a recipe. The Recipe DSL also helps ensure that recipes interact with nodes (and node properties) in the desired manner. Most of the methods in the Recipe DSL are used to find a specific parameter and then tell the chef-client what action(s) to take, based on whether that parameter is present on a node.”

“Because the Recipe DSL is a Ruby DSL, anything that can be done using Ruby can also be done in a recipe or custom resource, including if and case statements, using the include? Ruby method, including recipes in recipes, and checking for dependencies. See the Ruby guide for further information on built-in Ruby functionality.”

Fair Use Source: https://docs.chef.io/dsl_recipe.html

External sites

chef_recipe_dsl.txt · Last modified: 2024/04/28 03:16 (external edit)