Here, Robin discusses using Berkshelf to resolve dependency issues within your Chef configuration files for trouble free operation.
- [Instructor] We just discussed…building a wrapper Cookbook, called myhaproxy,…that actually calls the haproxy Cookbook as a dependency.…The way we accomplished this…was by adding this dependency to our metadata file…for our new wrapper Cookbook.…Notice, inside of the metadata file here,…I've added this dependency on haproxy,…and I told it I want to use a specific version…of this dependency.…Now, you could go and download these Cookbooks…directly from the Supermarket, and upload them.…
Your Chef server just needs these Cookbooks to be available.…However, this might present a slew of problems.…For example, heading back to the Supermarket,…you'll actually notice that the haproxy Cookbook…under this tab called Dependencies.…haproxy itself has dependencies.…It needs these Cookbooks in order to function properly.…You'll find that the majority of Cookbooks…actually call other Cookbooks as libraries,…and sometimes hijack their functionality.…
With this in mind, I'd actually have to download…the correct versions of these Cookbooks, as well,…
- 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.