Connecting a node to the Chef Server is done through a process called bootstrapping. Robin attaches the Ubuntu node and explains how to set a run-list.
- [Instructor] It's time to upload some cookbooks…to our chef server.…Now to do this, I want you to be aware…that we've added a dependency to our lamp cookbook…on the HTTPD community cookbook.…This means that we'll need to have this community cookbook…on our chef server for our infrastructure to function…when we deploy it.…Take a moment to ensure that you have…the same directory structure you see here off to the left.…You can see I'm navigated into my chef-repo directory…where I can see cookbooks.…
Opening cookbooks, it contains lamp,…what we've been working on.…Opening lamp, you'll find a particular file inside…called the Berksfile.…The Berksfile is used for configuring a command line utility…called Berkshelf that comes with the chef development kit.…That's B-E-R-K-S-H-E-L-F, Berkshelf.…Berkshelf is what we'll use to upload cookbooks…and their dependencies to the chef server.…
Now each cookbook that we use…should have a Berksfile inside of it…if you ran the chef generate command to create it.…The Berksfile is a very simple file…
This intermediate-level course provides insights into the Chef architecture through practical examples and demos, including the deployment of a PHP application on top of a LAMP stack. Instructor Robin Beck walks through recipe development and the various prebuilt cookbooks available from the Chef community Supermarket, and reviews best practices for building wrapper cookbooks that allow you to access recipes from different cookbooks. He also shows how to work more efficiently with knife commands for managing clients, cookbooks, and data.
- Building a setup recipe
- Using cookbooks to organize recipes
- Using community recipes
- Uploading cookbooks
- Using the database cookbook
- Adding PHP to the mix
- Searching with knife
- Testing cookbooks with Kitchen
Skill Level Intermediate
1. Review the Fundamentals
2. Community Code
3. Complete the LAMP Stack
4. The Joy of Test Kitchen
Next steps3m 43s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
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.