Creating a role

Once all cookbooks have been uploaded successfully, we need to create a role. A role is defined for a specific function and provides a path for different patterns and workflow processes.

For example, the web server role can consist of Tomcat server recipes and any custom attributes:

  1. Go to Policy| Roles | Create to create a role. In the Create Role window, provide a Name and Description and then click on Next, as shown in the following screenshot:

    Creating a role

  2. A Run List keeps roles/recipes in a proper manner and order. We can say that it describes the specifications of a node. Select tomcat from the Available Recipes section, drag it to the

Get DevOps for Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.