CHAPTER 7

image

Cookbooks

This chapter covers different aspects related to cookbooks.

Cookbooks are the fundamental unit of configuration in chef. Cookbooks determine what gets deployed on the client.

Basics of Cookbooks

A cookbook is the basic unit of configuration and policy definition in chef. It defines a complete scenario for the deployment and configuration of an application.

As an example, a cookbook for Apache or Tomcat would provide all details to install and configure a fully configured Apache or Tomcat server.

A complete cookbook is one that contains all the components required to support the installation and configuration of an application ...

Get Automation through Chef Opscode now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.