Book Image

Learning Chef

By : Rishabh Sharma, Mitesh Soni
Book Image

Learning Chef

By: Rishabh Sharma, Mitesh Soni

Overview of this book

<p>Chef automation helps to transform infrastructure into simple code. This means that building, rebuilding, configuration, and scaling to meet your customer's needs is possible in just a few minutes in a real-time environment.</p> <p>This book begins with the conceptual architecture of Chef, walking you through detailed descriptions of every Chef element. You will learn the procedure to set up your workstation and how to create a Cookbook in a hosted Chef environment.</p> <p>Private Chef Server setup is covered in depth, with information on the necessity of on-premise Private Chef deployment, benefits, and installation and configuration procedures for the different types of Private Chef servers including standalone, tiered, and high-availability.</p> <p>This book sheds light on industry best practices with practical Chef scenarios and examples.</p>
Table of Contents (17 chapters)
Learning Chef
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 9. Best Practices while Using Chef

 

"In this electronic age we see ourselves being translated more and more into the form of information, moving toward the technological extension of consciousness."

 
 --Marshall McLuhan

This chapter explores the industry's standard best practices for optimal and effective utilization of Chef. It sheds light on Chef's anti-patterns and patterns. As we know that testing is an important phase of a software project's life cycle to ensure quality, the same principle applies to Chef as well. There are various ways to test cookbooks. They give details of all the types of tests taken by Chef. As best practices are always evolving and come from people's experiences, this chapter provides tips for effective utilization of Chef in our industry and organization.

We are going to cover the following topics:

  • Chef's anti-patterns and patterns

  • Testing of cookbooks

  • Best practices for effective usage of Chef