HOW DOES A COOKBOOK DIFFER FROM A RECIPE IN CHEF?

How does a cookbook differ from a recipe in Chef?

A recipe is a collection of resources, and typically configures a software package or some piece of infrastructure. A cookbook groups together recipes and other information in a way that is more manageable than having just recipes alone.

For example, use a template resource to manage your HTML home page from an external file. The recipe states the configuration policy for your web site, and the template file contains the data. You use a cookbook to package both parts up into a single unit that you can later deploy.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>