Test Driving your Rails Infrastructure with Chef
summary
Claims that infrastructure can be developed test‑first using Chef and that you can iterate quickly by combining Test Kitchen with unit and integration tests. Toolchain shown: Chef DK, Test Kitchen, ServerSpec, ChefSpec and Foodcritic, Docker/Vagrant or cloud drivers. Workshop builds cookbooks to install packages (vim, apache2), spins containers where tests first fail then a one‑line resource change makes them pass, and culminates in a rails app cookbook that converges and serves the app.
AI-written summary · about
chapters (11)
- 0:00Start
- 5:17Run DMC
- 7:42Benefits of Automation
- 8:16Dimensions of Scale
- 9:33Infrastructure as Code
- 13:266 Golden Images to Update
- 15:20Desired Configuration
- 16:41HA Proxy Configuration
- 34:38Test and Repair
- 43:36Test Matrix
- 58:36Manually inspect the test node
related talks
47mTest Driven Infrastructure with Serverspec & Kitchen CI
42mTesting Infrastructure Code using Test-kitchen, Docker and Chef-Zero
22mMoving Fast Together: Test-Driven Infrastructure
41mChef Cookbook Testing Like a Pro
28mFrom Monitoring to Automated Testing of Your Infrastructure Code
36mIntroduction to Test-kitchen and InSpec
34m"Acing" Infrastructure Testing with Chef
05mProgramming your Infrastructure
