CHAPTER 9
Developing a Cookbook
In this chapter, we walk you through the process of creating a cookbook. The chapter covers all important aspects of developing cookbooks.
Developing Your First Cookbook
Chef uses cookbooks to configure systems the way the administrator wants them to be configured.
We will assume that you have a chef server, a workstation, and a node already configured.
Cookbooks are created on the workstation using knife and are then uploaded to the chef server using knife.
We demonstrate the creation of a basic nginx cookbook that installs the Nginx web server on our node.
Figure 9-1 demonstrates how we will proceed in this chapter. ...
Get Automation through Chef Opscode 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.