O'Reilly logo

Automation through Chef Opscode by Manak Wadhwa, Navin Sabharwal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 9

image

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required