Book Image

Configuration Management with Chef-Solo

By : Naveed ur Rahman
Book Image

Configuration Management with Chef-Solo

By: Naveed ur Rahman

Overview of this book

Table of Contents (13 chapters)

Chapter 4. Developing Cookbooks

We have already discussed the folder structure and some basic content of cookbooks. It's difficult to create folders one by one in a specific manner and create files inside them.

In this chapter, we will discuss cookbooks in detail; we will also discuss how we can avoid errors while developing cookbooks. Chef comes with some handy tools to initialize the folder structures of cookbooks.

In this chapter, we will look at the following topics:

  • What is Knife?

  • The installation of Knife

  • Berkshelf

  • Cookbooks' contents

  • Recipes, metadata, attributes, and resources