Robin discusses applying code in a production-like environment before deploying any new features using Chef's testing framework, Kitchen, with the ChefDK.
- [Instructor] So far in this class,…I've demonstrated writing some basic Chef code,…and deploying it inside of a virtual machine.…Then I went through and actually bootstrapped…a cloud instance to test our Apache cookbook,…and see if it deploys properly.…This is a great way to get to know Chef,…however, you should understand that…Chef itself is a very test-driven ecosystem.…This means that we can actually test our cookbooks…using some tools that are included…inside of the Chef development kit.…
I want to introduce you to the…testing framework called Test Kitchen.…Understand that testing is a huge…part of working with infrastructure.…We want to actually see if our code…accomplishes what we expect it to…before we ever think about deploying that code…to some sort of production environment.…We're trying to move away from the excuse…"well, the code worked on my machine".…I want you to think about what it would take…in order to actually verify that…our cookbook, the Apache cookbook,…is accomplishing what we expect it to do.…
- 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.