Test-Driven Infrastructure with Chef
Bring Behavior-Driven Development to Infrastructure as Code
Samenvatting
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
Specificaties
Inhoudsopgave
1. The Philosophy of Test-Driven Infrastructure
-Underpinning Philosophy
-Infrastructure as Code
-Professionalism
2. An Introduction to Ruby
-What Is Ruby?
-Grammar and Vocabulary
3. An Introduction to Chef
-Exercise 1: Install Chef
-Exercise 2: Install a User
-Exercise 3: Install an IRC Client
-Exercise 4: Install Git
4. Using Chef with Tools
-Exercise 1: Ruby
-Exercise 2: Virtualbox
-Exercise 3: Vagrant
-Conclusion
5. An Introduction to Test- and Behavior-Driven Development
-The Principles of TDD and BDD
-TDD and BDD with Ruby
6. A Test-Driven Infrastructure Framework
-Test-Driven Infrastructure: A Conceptual Framework
-The Pillars of Test-Driven Infrastructure
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
8. Epilogue
Appendix A: Bibliography
Index
Anderen die dit boek kochten, kochten ook
Net verschenen
Rubrieken
- aanbestedingsrecht
- aansprakelijkheids- en verzekeringsrecht
- accountancy
- algemeen juridisch
- arbeidsrecht
- bank- en effectenrecht
- bestuursrecht
- bouwrecht
- burgerlijk recht en procesrecht
- europees-internationaal recht
- fiscaal recht
- gezondheidsrecht
- insolventierecht
- intellectuele eigendom en ict-recht
- management
- mens en maatschappij
- milieu- en omgevingsrecht
- notarieel recht
- ondernemingsrecht
- pensioenrecht
- personen- en familierecht
- sociale zekerheidsrecht
- staatsrecht
- strafrecht en criminologie
- vastgoed- en huurrecht
- vreemdelingenrecht