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
Recipes, metadata, attributes, and resources