Test-Driven Infrastructure with Chef by Nelson-Smith Stephen
Author:Nelson-Smith, Stephen [Stephen Nelson-Smith]
Language: eng
Format: epub
Tags: COMPUTERS / System Administration / General
ISBN: 9781449313173
Publisher: O'Reilly Media, Inc.
Published: 2011-06-12T16:00:00+00:00
* * *
[21] https://github.com/wycats/thor
[22] For more complex requirements, or sometimes just because the test suits it, the “controller” container can be used for the verification portion of tests. We won’t be making use of the controller in this book.
Chapter 6. Cucumber-Chef: A Worked Example
We’ve come a long way in this book. We’ve explored the thinking behind the Infrastructure as Code paradigm, and outlined some of the risks associated with its implementation. We’ve introduced Chef as a powerful framework for automating infrastructures at scale, and have set ourselves up to use the Opscode platform. We’ve covered the ideas behind test-driven and behavior-driven development, and we’ve described the genesis of a new tool for making possible the automated testing of infrastructures built using Chef. We’ve installed this tool, Cucumber-Chef, and have an idea of its basic architecture. In this chapter, we’re going to make use of the platform that Cucumber-Chef provides, and do some real test-driven infrastructure development.
As we work through this chapter, we’ll introduce some of the concepts and workflows that characterize building infrastructure using Chef, so this chapter really serves not only as an introduction to the idea of test-driven infrastructure, but also as a tutorial for getting started with Chef.
Let’s just review the prerequisites to continue through this chapter of the book. At this stage you should have:
Chef installed via RubyGems
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7786)
Grails in Action by Glen Smith Peter Ledbrook(7700)
Configuring Windows Server Hybrid Advanced Services Exam Ref AZ-801 by Chris Gill(6597)
Azure Containers Explained by Wesley Haakman & Richard Hooper(6588)
Running Windows Containers on AWS by Marcio Morales(6117)
Kotlin in Action by Dmitry Jemerov(5070)
Microsoft 365 Identity and Services Exam Guide MS-100 by Aaron Guilmette(4935)
Combating Crime on the Dark Web by Nearchos Nearchou(4514)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4418)
Microsoft Cybersecurity Architect Exam Ref SC-100 by Dwayne Natwick(4370)
The Ruby Workshop by Akshat Paul Peter Philips Dániel Szabó and Cheyne Wallace(4185)
The Age of Surveillance Capitalism by Shoshana Zuboff(3960)
Python for Security and Networking - Third Edition by José Manuel Ortega(3757)
Learn Windows PowerShell in a Month of Lunches by Don Jones(3510)
The Ultimate Docker Container Book by Schenker Gabriel N.;(3421)
Mastering Python for Networking and Security by José Manuel Ortega(3346)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(3335)
Blockchain Basics by Daniel Drescher(3303)
Learn Wireshark by Lisa Bock(3292)
