1 option
Test-driven infrastructure with Chef / Stephen Nelson-Smith.
- Format:
- Book
- Author/Creator:
- Nelson-Smith, Stephen.
- Language:
- English
- Subjects (All):
- Chef (Computer program).
- Software configuration management.
- Client/server computing.
- Physical Description:
- 1 online resource (308 p.)
- Edition:
- Second edition.
- Place of Publication:
- Sebastopol, California : O'Reilly, 2013.
- Language Note:
- English
- System Details:
- text file
- Summary:
- 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
- Contents:
- Intro
- Copyright
- Table of Contents
- Preface
- Conventions Used in This Book
- Safari® Books Online
- How to Contact Us
- Acknowledgments
- Chapter 1. The Philosophy of Test-Driven Infrastructure
- Underpinning Philosophy
- Infrastructure as Code
- The Origins of Infrastructure as Code
- The Principles of Infrastructure as Code
- The Risks of Infrastructure as Code
- Professionalism
- Chapter 2. An Introduction to Ruby
- What Is Ruby?
- Grammar and Vocabulary
- Methods and Objects
- Identifiers
- More About Methods
- Classes
- Arrays
- Conditional logic
- Hashes
- Truthiness
- Operators
- Bundler
- Chapter 3. An Introduction to Chef
- Exercise 1: Install Chef
- Objectives
- Directions
- Worked Example
- Discussion
- 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
- Worked example
- Exercise 3: Vagrant
- Conclusion
- Chapter 5. An Introduction to Test- and Behavior-Driven Development
- The Principles of TDD and BDD
- A Very Brief History of Agile Software Development
- Test-Driven Development
- Behavior-Driven Development
- TDD and BDD with Ruby
- Minitest: Unit Testing for the 21st Century
- RSpec: The Transition to BDD
- Cucumber: Acceptance Testing for the Masses
- Chapter 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
- Writing Tests
- Running Tests
- Provisioning Machines
- Feedback of Results
- Chapter 7. Test-Driven Infrastructure: A Recommended Toolchain
- Tool Selection
- Unit Testing
- Integration Testing
- Acceptance Testing
- Testing Workflow
- Supporting Tools: Berkshelf
- Overview
- Getting Started
- Example
- Advantages and Disadvantages
- Summary and Conclusion
- Supporting Tools: Test Kitchen
- Acceptance Testing: Cucumber and Leibniz
- Integration Testing: Test Kitchen with Serverspec and Bats
- Introducing Bats
- Introducing Serverspec
- Templates
- Integration Testing: Minitest Handler
- Unit Testing: Chefspec
- Static Analysis and Linting Tools
- To Conclude
- Chapter 8. Epilogue
- Appendix A. 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
- About the Author.
- Notes:
- "Bring behavior-driven development to infrastructure as code"--Cover.
- Includes bibliographical references.
- Description based on online resource; title from PDF title page (ebrary, viewed November 5, 2013).
- Description based on publisher supplied metadata and other sources.
- ISBN:
- 9781449372583
- 1449372589
- 9781449372606
- 1449372600
- 9781306809979
- 1306809975
- 9781449372590
- 1449372597
- OCLC:
- 855704970
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.