Recipes
So we saw how we can make use of resources to manage different components of the system configuration. Now let's see how to make use of recipes to arrange these resources in a way that allows us to manage our infrastructure efficiently.
A recipe is nothing but a collection of resources with a stir of Ruby code along with attributes as spices. Once you've chosen the right attributes, added them in the right order along with resources, and stirred everything together well using custom Ruby code, you have a wonderful recipe in your hand that can be happily fed to the underlying infrastructure.
We have already learned a lot about resources; let's see what attributes are and how to make good use of them.
Attributes
An attribute is nothing but a ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access