Chapter 5. Starting the Journey to the World of Recipes

We have our Chef server setup done by now. You must be itching to get your hands dirty with writing Chef code and bootstrapping your infrastructure using it. We'll look into the different components that can be managed through Chef using the concept of resources. Once we are familiar with different resources, we'll see how we can utilize them in our recipes. We'll also see some best practices in writing recipes.

Before we start off, we need to understand what the term "recipe" really means.

In the world of Chef, a recipe is the most fundamental unit of code that is executed. It can be considered as the most fundamental configuration element within an organization. A recipe is a piece of code ...

Get Mastering Chef now with O’Reilly online learning.

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