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 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.