Chef instructions are recipes that are bundled together in cookbooks. A cookbook contains at least one recipe, which performs some actions. Cookbooks can contain multiple recipes and other resources such as templates and files.
At its most basic level, a cookbook is a folder (named as the name of the cookbook) that contains at least a recipes
folder, which contains at least a default recipe file, default.rb
. Files are typically stored in a files
folder within the cookbook
folder and template files within the templates
folder.