Introduction
Transform your infrastructure with Chef
()
What you should know
()
Getting set up
()
1. Tools and Techniques
Test-driven infrastructure
()
Behavior before function
()
Writing tests first
()
Know your ChefDK
()
Chef-generated tests
()
2. Integration with Test Kitchen
Integration tests
()
Inspect InSpec
()
The role of database
()
Our first test
()
Skip the line and test now
()
The .kitchen.yml
()
Red light
()
Function before form
()
Create the database
()
Tuning Kitchen
()
Create the database user
()
Green light
()
Create, converge, verify, and destroy
()
3. The Fundamental Unit Test
Unit tests
()
RSpec and ChefSpec
()
Tests don't have to be scary
()
Describe the specs
()
Short-term memory
()
Fake it with Fauxhai
()
Refactor to node attributes
()
Integration
()
Ex_Files_Test_Driven_Infrastructure_Chef.zip
(1.0 MB)