Here Robin shows how to use Cookbooks to organize recipes into a configuration scenario that can then be applied with the chef-client.
- [Instructor] Thinking about the Hello.rb recipe…we worked with so far, you're probably excited to see…what else we can do with Chef recipes…such as configuring web servers.…If you come from a developer background,…I'm sure you're curious about documenting…what this recipe does and how to track changes to it.…So, shouldn't we have a readme, some metadata,…and version control?…A cookbook is Chef's fundamental unit…of policy distribution.…This means that once we're working with a Chef server…we won't be distributing individual recipes to servers,…we'll be distributing cookbooks.…
These cookbooks contain all the instructions…on how to use the recipes that come with it…and any supporting components…your recipes might need to function.…Cookbooks can generally be thought of…as containers for our recipes.…When we author cookbooks, it's important to think about it…as a standalone unit that defines a scenario…and contains all the components…needed to support that scenario.…For example, a MySQL cookbook would contain…all the instructions on how to install…
- Configuration management
- Using Chef
- Installing the Chef development kit (ChefDK)
- Provisioning a CentOS instance
- Using recipes and the Apache cookbook
- Working with nodes and node objects
- Using templates and embedded Ruby
- Hosting a Chef server
- Provisioning nodes with AWS
- Testing deployments with Kitchen
- Exploring the Chef Supermarket
- Resolving dependencies with Berkshelf
- Working with server roles, environments, and data bags
Skill Level Beginner
Setting up a Red Hat Enterprise Linux Serverwith Sandra Toner2h 46m Intermediate
1. Getting Started with Chef
2. From Recipes to Cookbooks
3. The Chef Server
4. Going Full Scale
Next steps3m 9s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.