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

Summary


In this chapter, we saw how the new 12.5 version of Chef has brought us the Custom Resource, and we explored how the Custom Resource has improved upon the old concept of LWRPs and HWRPs. We realized that Chef has built-in resources for a lot of things, but not for creating websites. Therefore, you learned how to create a new "website" Custom Resource. We expanded on the website resource to make it easy to use in different cookbooks, and expanded it even further so that we can use it for cookbooks that will be converged in multiple operating systems. By now, you should really appreciate the humble Custom Resource. It is a great improvement over the old Resource Provider model and can greatly simplify your recipes.

Next, let's dive into the use of Chef to provision into the traditional datacenter. There is a lot to cover, so let's get started.