Chef Recipe Documentation
Instance attribute summary collapse cookbook name object.
Chef recipe documentation. Recipe object. Recipe name object. Returns the value of attribute cookbook name. A chef cookbook is comprised of recipes that a nodes desired state.
Determine whether this can be removed params end. A chef infra cookbook provides structure to your recipes and in general helps you stay organized. Returns the value of attribute recipe. However this dsl can also be extended when additional resources and capabilities are required.
Params object. Returns the value of attribute params. Chef infra client provides a reasonable set of resources enough to support many of the most common infrastructure automation scenarios. For a node to run a recipe it must be on.
29 30 31 file lib chef recipe rb. These include knife for interacting with the chef infra. A recipe object is the context in which chef recipes are evaluated. A search is a full text query that can be done from several locations including from within a recipe by using the search subcommand in knife the search method in the recipe dsl the search box in the chef management console and by using the search or search index endpoints in the chef infra server api.
Recipes work as a collection of resources that determine the configuration or policy of a node with resources being a configuration element of the recipe. Chef apply executable chef run executable chef shell executable chef vault executable chefspec. The search engine is based on apache solr and is run from the chef infra server. Cheftutorial documentation release 1 0 4 5 chef solo chef solo 1 cd c chef repo 2 chef solo c solo rb j win default json.
A chef infra recipe is a file that groups related resources such as everything needed to configure a web server database server or a load balancer. Config rb knife rb optional config rb settings. Cheftutorial documentation release 1 0 zip chef handler windows c chef repo cookbooks cookbook recipe win default json 1 cd c chef repo 2 echo win default json 3 notepad exe win default json win default json 1 2 run list 3 recipe windows 28 chapter 1. Returns the value of attribute cookbook name.
Recipes are written in ruby and contain information about everything that needs to be run changed or created on a node. Instance attribute details cookbook name object. Chef infra client uses ruby as its reference language for creating cookbooks and defining recipes with an extended dsl for specific resources.