Naming roles in your business's conversational name

The name of a role should be based on your business's conversational name for the type of node it manages. So, if you generally call the machine a web server, you should prefer a name such as role::web, as opposed to naming it according to any underlying profile technology such as web::apache or web::nginx. This adds a layer of abstraction and hides the complexity of the profile code, again utilizing good programming practices.

Another advantage to this best practice is the benefit of communication within your organization: testers, project managers, and even business people can understand the simple language of roles, yet Puppet developers communicate more readily at the deeper profile ...

Get Mastering Puppet 5 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.