Configuring Chef Nodes Using Roles
As more configuration is written that needs to be shared with multiple nodes, one of the ways to prevent duplication is by using Chef roles. In this activity, the student will create an NGINX cookbook and a role that can be used on new nodes that are designated as web servers. This role will install NGINX and run the service for now but could be expanded as more requirements are placed on web servers within the organization. To complete this live environment the student will need to demonstrate the ability to author a cookbook, define a role, and manage a node's run-list.