Search code examples
chef-infrachef-recipecookbookrecipe

Chef "include_recipe 'cookbook::recipe'" Include Whole Cookbook


I'm pretty new to chef and I was curious if I used the 'include_recipe' keyword and only specified a cookbook, would it include all recipes from that cookbook.

E.G.

include_recipe 'myCookbook'

Instead of the normal format:

include_recipe 'myCookbook::default'

Solution

  • No, it includes the recipe called default only.