Book Image

Mastering Chef Provisioning

By : Earl Waud
Book Image

Mastering Chef Provisioning

By: Earl Waud

Overview of this book

This book will show you the best practices to describe your entire infrastructure as code. With the help of this book you can expand your knowledge of Chef because and implement robust and scalable automation solutions. You can automate and document every aspect of your network, from the hardware to software, middleware, and all your containers. You will become familiar with the Chef’s Chef Provisioning tool. You will be able to make a perfect model system where everything is represented as code beneath your fingertips. Make the best possible use of your resources, and deliver infrastructure as code, making it as versionable, testable and repeatable as application software
Table of Contents (17 chapters)
Mastering Chef Provisioning
Credits
Foreword
About the Author
Acknowledgments
About the Reviewer
www.PacktPub.com
Preface
Index

Chapter 7. Test-Driven Development

In this chapter, we're going to delve into the Test-driven Development model, showing how to maximize development efforts and quickly deliver highly functional and well-tested environments. The reader will learn how to transform their model for Chef from one where cookbooks are code to one, where cookbooks are artifacts, with test practices built into both models. Initially, it may seem difficult and time consuming to build the skills and habits of test-driven development. However, once the skills and habits are acquired, the development cycle becomes accelerated and the resulting infrastructure is much more stable. What's more, DevOps Engineers will have greater certainty that the infrastructure will be fully functional. It will no longer be necessary to do ad hoc tests and spot checks on infrastructure deployed into production environments. The infrastructure code will be continually tested through the development process, and the artifact deployments...