Skip to Content
Test-Driven Infrastructure with Chef
book

Test-Driven Infrastructure with Chef

by Stephen Nelson-Smith
June 2011
Intermediate to advanced
90 pages
2h 21m
English
O'Reilly Media, Inc.
Content preview from Test-Driven Infrastructure with Chef

Chapter 7. Next Steps

This book has begun the process of setting out a manifest for a radical way of approaching Infrastructure as Code. We’ve called infrastructure developers to start to treat their infrastructure code in the same way as other application code, and bring the same disciplines of test-driven development to it.

By now, you should be well on your way to being a confident infrastructure developer. You should have a firm grounding in the underpinning ideas behind Infrastructure as Code—why it’s a valuable pattern, and why its power needs to be harnessed and treated with respect. You should be in a position to develop Chef recipes and cookbooks and manage infrastructure via the Opscode platform, and you should have a good understanding of the fundamentals of how Chef works.

Beyond your understanding of Chef, you should be becoming familiar with some of the principles of test-driven and behavior-driven development, and should feel confident about starting to write some tests using Cucumber.

Cucumber-Chef is designed to be an enabler, which makes the iterative, test-first development model available to infrastructure developers. Until now, the underpinning infrastructure, time, expense, and complexity of trying to develop cookbooks and recipes in a more traditionally Agile fashion meant that few people could justify the investment. Now, with a single command, and for the cost of a few cents an hour, a fully-featured, self-contained test lab can be brought into existence from ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Test-Driven Infrastructure with Chef, 2nd Edition

Test-Driven Infrastructure with Chef, 2nd Edition

Stephen Nelson-Smith
Chef: Powerful Infrastructure Automation

Chef: Powerful Infrastructure Automation

John Ewart, Matthias Marschall, Earl Waud
Coaching for High Performance

Coaching for High Performance

MIT Sloan Management Review

Publisher Resources

ISBN: 9781449309718Errata