Introduction
Welcome
()
What you should know
()
Using the exercise files
()
Getting set up
()
1. Review the Fundamentals
Use Vagrant to create an Ubuntu node
()
The Chef development kit
()
Build a setup recipe with resources
()
Converge with the chef-client
()
Cookbooks to organize recipes
()
The LAMP cookbook
()
The web recipe
()
Ohai and system inventory
()
Using node attributes for tunables
()
Templates for config files
()
2. Community Code
The Chef Supermarket
()
Wrapper cookbooks and dependencies
()
Refactor using the httpd community cookbook
()
The hosted Chef server
()
Grab the starter kit and reorganize
()
Upload cookbooks with Berkshelf
()
Bootstrap the Vagrant node
()
Add a dependency on MySQL
()
The database cookbook
()
Data bags for sensitive information
()
Upload the data bags and converge
()
3. Complete the LAMP Stack
Add PHP to the mix
()
Create the php_app cookbook
()
The MySQL script
()
Populate the database
()
The PHP homepage
()
Review and deploy the LAMP cookbook
()
4. The Joy of Test Kitchen
What could we have done differently?
()
An introduction to Test Kitchen
()
Configuring the .kitchen.yml
()
Converge and destroy a Test Instance
()
Kitchen verify
()
Write an InSpec test
()
Ex_Files_Chef_EssT.zip
(6.0 MB)