Book description
Since Test-Driven Infrastructure with Chef first appeared in mid-2011, infrastructure testing has begun to flourish in the web ops world. In this revised and expanded edition, author Stephen Nelson-Smith brings you up to date on this rapidly evolving discipline, including the philosophy driving it and a growing array of tools. You’ll get a hands-on introduction to the Chef framework, and a recommended toolchain and workflow for developing your own test-driven production infrastructure.
Several exercises and examples throughout the book help you gain experience with Chef and the entire infrastructure-testing ecosystem. Learn how this test-first approach provides increased security, code quality, and peace of mind.
- Explore the underpinning philosophy that infrastructure can and should be treated as code
- Become familiar with the MASCOT approach to test-driven infrastructure
- Understand the basics of test-driven and behavior-driven development for managing change
- Dive into Chef fundamentals by building an infrastructure with real examples
- Discover how Chef works with tools such as Virtualbox and Vagrant
- Get a deeper understanding of Chef by learning Ruby language basics
- Learn the tools and workflow necessary to conduct unit, integration, and acceptance tests
Publisher resources
Table of contents
- Preface
- 1. The Philosophy of Test-Driven Infrastructure
- 2. An Introduction to Ruby
- 3. An Introduction to Chef
- 4. Using Chef with Tools
- 5. An Introduction to Test- and Behavior-Driven Development
-
6. A Test-Driven Infrastructure Framework
-
Test-Driven Infrastructure: A Conceptual Framework
- Test-Driven Infrastructure Should Be Mainstream
- Test-Driven Infrastructure Should Be Automated
- Test-Driven Infrastructure Should Be Side-Effect Aware
- Test-Driven Infrastructure Should Be Continuously Integrated
- Test-Driven Infrastructure Should Be Outside In
- Test-Driven Infrastructure Should Be Test-First
- The Pillars of Test-Driven Infrastructure
-
Test-Driven Infrastructure: A Conceptual Framework
- 7. Test-Driven Infrastructure: A Recommended Toolchain
- 8. Epilogue
- A. Bibliography
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Test-Driven Infrastructure with Chef, 2nd Edition
- Author(s):
- Release date: October 2013
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781449372200
You might also like
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …
video
Chef Fundamentals: A Recipe for Automating Infrastructure
Are you the only Chef in the kitchen? Is your infrastructure suffering from snowflake servers? Are …
article
Run Llama-2 Models Locally with llama.cpp
Llama is Meta’s answer to the growing demand for LLMs. Unlike its well-known technological relative, ChatGPT, …
book
vi Editor Pocket Reference
For many users, working in the UNIX environment means using vi, a full-screen text editor available …