- [Narrator] You've already seen…the basics of how Chef works.…We have Ruby files that are stored on any system…we'd like to apply that configuration to.…Now these Ruby files are strict Ruby files,…meaning they contain Chef resources.…Chef resources in and of themselves…is not a way to describe pure Ruby code.…They describe the desired state of any server…and the steps needed to bring that system…into the desired state.…
Now, we could just have a bunch of big Ruby files…stored on any system, but that wouldn't make much sense…for organizational purposes, right?…So we're going to introduce the concept of a cookbook.…Cookbooks are a fundamental unit…of configuration and policy distribution.…That's a fancy way of saying…this is how we're actually going to get your chef code…from point A to point B.…We'll store cookbooks on your Chef server…and then, eventually, distribute them…to any nodes we'd like to manage with a Chef server.…
Cookbooks are how we describe…a particular type of configuration we'd like to make.…An example is all the steps needed…
Author
Released
10/27/2017This intermediate-level course provides insights into the Chef architecture through practical examples and demos, including the deployment of a PHP application on top of a LAMP stack. Instructor Robin Beck walks through recipe development and the various prebuilt cookbooks available from the Chef community Supermarket, and reviews best practices for building wrapper cookbooks that allow you to access recipes from different cookbooks. He also shows how to work more efficiently with knife commands for managing clients, cookbooks, and data.
- Building a setup recipe
- Using cookbooks to organize recipes
- Using community recipes
- Uploading cookbooks
- Using the database cookbook
- Adding PHP to the mix
- Searching with knife
- Testing cookbooks with Kitchen
Skill Level Intermediate
Duration
Views
Related Courses
-
DevOps Foundations
with Ernest Mueller2h 53m Beginner -
Ruby Essential Training
with Kevin Skoglund6h 57m Beginner
-
Introduction
-
Welcome1m 23s
-
What you should know2m 57s
-
Using the exercise files2m 19s
-
Getting set up8m 38s
-
-
1. Review the Fundamentals
-
The Chef development kit2m 36s
-
The LAMP cookbook7m 34s
-
The web recipe10m 57s
-
Ohai and system inventory8m 57s
-
Templates for config files10m 11s
-
2. Community Code
-
The Chef Supermarket4m 27s
-
The hosted Chef server2m 26s
-
Bootstrap the Vagrant node9m 19s
-
Add a dependency on MySQL4m 17s
-
The database cookbook9m 36s
-
-
3. Complete the LAMP Stack
-
Add PHP to the mix3m 2s
-
Create the php_app cookbook4m 28s
-
The MySQL script3m 30s
-
Populate the database10m 56s
-
The PHP homepage5m 58s
-
-
4. The Joy of Test Kitchen
-
Configuring the .kitchen.yml6m 47s
-
Kitchen verify5m 32s
-
Write an InSpec test6m 33s
-
Conclusion
-
Next steps3m 43s
-
- 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.
CancelTake 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.
Share this video
Embed this video
Video: Cookbooks to organize recipes