How to use Chef Provisioning

Now that you have a picture of what Chef provisioning is and how you might use it to turn an application's cluster infrastructure into code, let's take a look at how to actually use it. Like other aspects of Chef, we create recipes for Chef provisioning. And like the recipes in our other cookbooks, these recipes will contain resource definitions that will describe the desired state of our application cluster.

So, let's begin by learning about the resources that we can create in our Chef provisioning recipes.

Chef Provisioning resources

A Chef Provisioning recipe can contain the definitions of the following resources:

  • with_driver: This resource tells Chef Provisioning the name of the driver to use with subsequent machine ...

Get Mastering Chef Provisioning now with O’Reilly online learning.

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