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, you learned about Chef roles and how valuable they are to deploying fully functional servers. We saw that even though they are a global resource, they can be leveraged across environments to deliver different content, based on the environment of the node. We also discussed the big shortcoming of roles, that being their lack of a version component. Then, we looked at using Chef Environments to mimic the development life cycle of your infrastructure code. That was followed by talking about how to provide multitenancy with your Chef servers using organizations. Next, we took a deep dive into the attribute precedence hierarchy, and then we finished up with a visit to the exciting new policy feature, which delivers an object that combines the best of roles and environments (and dependency tools such as Berkshelf too).

In out next chapter, we will investigate custom resources, explaining how to create and use them effectively. Are you ready? Then read on…