Assign the role to nodes
Assign the exampleserver role to the node group containing the nodes
that you want to have the iis_site configuration you wrote
in the webserver::example profile.
For this example, assume you want to add role::exampleserver to all nodes in the iis node
group.
- In the console, click Node groups and select the
iisnode group. - On the Classes tab, select
role::exampleserverand click Add class. - Commit the change.
Results
Now, the
Now, the
iis node group manages your iis_site website based on the rules you wrote in your
webserver profile. When the nodes check in with PE, PE distributes the
role (and the contained profiles) to the individual nodes and ensures the individual
nodes have the IIS service and the desired configurations.





