Learn about applying recipes by invoking the chef-client on nodes. When a chef-client run is performed, the instructions inside the run-list are applied.
- [Voiceover] Up until this point,…whenever we apply our Chef code,…we've been running the chef-client in local mode.…But we've only been supplying it with a single recipe file.…Now that we're working with cookbooks,…we're going to want to learn…how to execute the contents of a cookbook,…instead of a single recipe.…This is important, because cookbooks can contain…supporting files for your recipes,…meaning that, if we execute the chef-client…without giving it a cookbook,…it might not know where to find…some of those advanced components,…like templates, that we'll discuss later.…
So we need a new method for executing the chef-client.…You already understand the concept of local mode.…Whenever we're working with Chef,…in a more production-like environment,…we run sudo chef-client.…However, we don't have a Chef server yet,…so we've been executing it in local mode,…meaning, use a recipe or a cookbook…that I have stored locally on this machine.…I want to introduce the concept of the run list.…
The run list is incredibly important to understand.…
- 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.