How To Use Roles and Environments in Chef to Control Server Configurations
In previous guides, we discussed Chef terminology, how to install a Chef server, workstation, and node (with Chef 12 or Chef 11), and how to create simple cookbooks to manage configuration. In this guide, we will continue to explore how you can manage your environment with Chef. We will discuss how to use roles and environments to differentiate your servers and services based on what kind of functionality they should exhibit.