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

Using Chef organizations


A single Chef Server can be configured to manage the infrastructure of multiple organizations. For example, if your company has different business units that each have their own application and infrastructure servers, they can all use the same Chef server or set of Chef servers by defining unique organizations for each business unit on those Chef servers. Organizations allow the siloing of your infrastructure code, including the cookbooks, nodes, roles, environments, and so on. Said another way, cookbooks, nodes, roles, and so on, are not shared across organizations. A cookbook with the same name can exist in multiple organizations and have completely different content in each organization. This is the mechanism that allows for multitenancy on a Chef server. Each organization will have its own set of users. It is possible for a user to have access to multiple organizations, but such a user would have to be invited into each organization.

Creating organizations

An organization...