At this stage, all the required cookbooks are uploaded on the hosted Chef. Now, let's create a role on the hosted Chef.
Before creating a role, let's understand what it means.
A role is created for a specific function. It provides a path for various patterns and workflow processes.
For example, the web server role can consist of Tomcat server recipes and any custom attributes:
- Go to Policy in the hosted Chef Dashboard and click on Roles in the sidebar menu. Click on Create Role to create a role.
- In the Create Role window, provide a Name and Description.
- Click on Next.
Refer to the following screenshot:
- A Run List keeps roles/recipes ...