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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.