In this video, Robin talks about the test and repair of Chef recipes to make sure that your configuration works as expected.
- [Instructor] With your more formal understanding…of the definition of a resource in place, let's take a look…at that more concrete example we used before.…Now, we had the Chef client…generate a file for us called hello.txt.…What do you think would happen if we were to go…and modify the content of that file directly?…So I'm going to do this thought experiment with you.…You should understand that when the Chef client…runs your recipe, it's going to enforce…the state you defined for that resource.…
Remember what I wrote before,…taking a look at my hello recipe.…In this recipe, we wrote the content of the hello.txt file…should say, 'Hello, world!'…Now, I'm going to modify that file that it created, /hello.txt.…If I were to add some random content to this file,…what do you think would happen…the next time the Chef client takes a look at it?…I'm going to save this file,…and I'm going to verify that it took my changes,…just by catenating out its contents.…
There's my random content that I've added to that file.…Now, do you remember the command we ran…
- 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.