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:
In a Chef infrastructure, Knife runs from the command line and interacts between the Chef server and chef-client. It helps manage cookbooks, nodes, roles, ...