Test-Driven Infrastructure with Chef - Stephen Nelson-Smith

Test-Driven Infrastructure with Chef

Bring Behavior-Driven Development to Infrastructure as Code
Buch | Softcover
308 Seiten
2013 | 2nd
O'Reilly Media, Inc, USA (Verlag)
978-1-4493-7220-0 (ISBN)
31,40 inkl. MwSt
Since the first edition of this book, the field of TDI has really blossomed. Philosophy as well as technology have moved and developed fast, meaning that this second edition is an almost complete re-write, with masses of new material. Example exercises have been expanded and updated, giving a more in-depth practical introduction to using Chef.
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

Stephen Nelson-Smith (@LordCope) is principal consultant at Atalanta Systems, a fast-growing agile infrastructure consultancy, and Opscode training and solutions partner in Europe. One of the foundational members of the emerging Devops movement, he has been implementing configuration management and automation systems for five years for clients ranging from Sony, the UK government and Mercado Libre to startups amongst the burgeoning London 'Silicon Roundabout' community. A UNIX sysadmin, Ruby and Python programmer, and lean and agile practitioner, his professional passion is ensuring operations teams deliver value to the business. He is the author of the popular blog http://agilesysadmin.net, and lives in Hampshire, UK, where he enjoys outdoor pursuits, his family, reading, and opera.

Chapter 1 The Philosophy of Test-Driven Infrastructure
Underpinning Philosophy
Infrastructure as Code
Professionalism
Chapter 2 An Introduction to Ruby
What Is Ruby?
Grammar and Vocabulary
Chapter 3 An Introduction to Chef
Exercise 1: Install Chef
Exercise 2: Install a User
Exercise 3: Install an IRC Client
Exercise 4: Install Git
Chapter 4 Using Chef with Tools
Exercise 1: Ruby
Exercise 2: Virtualbox
Exercise 3: Vagrant
Conclusion
Chapter 5 An Introduction to Test- and Behavior-Driven Development
The Principles of TDD and BDD
TDD and BDD with Ruby
Chapter 6 A Test-Driven Infrastructure Framework
Test-Driven Infrastructure: A Conceptual Framework
The Pillars of Test-Driven Infrastructure
Chapter 7 Test-Driven Infrastructure: A Recommended Toolchain
Tool Selection
Supporting Tools: Berkshelf
Supporting Tools: Test Kitchen
Acceptance Testing: Cucumber and Leibniz
Integration Testing: Test Kitchen with Serverspec and Bats
Integration Testing: Minitest Handler
Unit Testing: Chefspec
Static Analysis and Linting Tools
To Conclude
Chapter 8 Epilogue

Appendix Bibliography
Books on TDD and ATDD
Books and Articles on BDD
Books on Agile Testing in General
Chef Articles and Presentations
Books on Tools
Books on Ruby
Books on Bash and Shell Scripting
General Programming Books
Other Great Books
Index
Colophon

Erscheint lt. Verlag 26.11.2013
Zusatzinfo black & white illustrations
Verlagsort Sebastopol
Sprache englisch
Maße 178 x 233 mm
Gewicht 494 g
Einbandart kartoniert
Themenwelt Mathematik / Informatik Informatik Betriebssysteme / Server
Mathematik / Informatik Informatik Netzwerke
Informatik Software Entwicklung Agile Software Entwicklung
ISBN-10 1-4493-7220-1 / 1449372201
ISBN-13 978-1-4493-7220-0 / 9781449372200
Zustand Neuware
Haben Sie eine Frage zum Produkt?
Mehr entdecken
aus dem Bereich
Leitfaden für wirklich erfolgreiche IT-Projekt-Verträge

von Andreas Opelt; Boris Gloger; Wolfgang Pfarl; Ralf Mittermayr

Buch (2023)
Carl Hanser (Verlag)
39,99