Learn about Ohai, a Ruby gem that detects host-specific information about a node, and makes these details available to recipes through the node object.
- [Instructor] If you're using Chef,…you're probably curious about how we could actually…configure many different servers at once.…This is something that Chef excels at.…In particular, think about…the Apache cookbook we've written.…It contains instructions on configuring a basic web server.…Now, these instructions can be distributed…to as many different web servers as you'd like.…But what about when you make more advanced configurations?…For example, there may come a time…where you need to have the IP address inserted…into some type of configuration file.…
How do you deal with configurations…where some information, such as a host specific detail,…like the host name or IP Address, might be different?…In particular, you might think about gathering…the IP Address, hostname, maybe the memory…available to this server, or the speed of the processors.…Now, you can gather this…information manually, if you'd like.…Heading over to my terminal session.…You'll see that I can actually go through…and gather details like the host name.…
- 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.