In this video, Robin talks about Ruby, the domain specific language (DSL) for Chef and how configuration instructions are written and evaluated.
- [Instructor] Now that you understand…what a Chef resource is, we can think about how to use…Ruby appropriately.…A resource again is a statement of configuration policy.…And actually most built in Chef resources can accomplish…the configuration tasks that you need.…Chef resources are designed to describe configurations…on many different platforms and be versatile enough…to fit your needs.…In other words use Chef resources whenever possible.…
Remember our definition of a Chef resource.…When we use them we describe the type…of resource that we're configuring.…It's name and then any properties…we'd like to take action with.…This is the basic structure of any…Chef resource that you'll work with.…What I want you to understand about this…is that Chef resources are authored with Ruby syntax…and have a .rb Ruby file extension.…Recipes contain Chef resources.…
However, Chef resources are not pure Ruby code…and cannot be run inside of a Ruby interpreter…like Ruby IRB.…It's important to understand that only the Chef client…
- 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.