I create a class for each role and use hiera_include('roles') to declare 
those classes. All of these classes live in a module named 'role'.

Example hiera:

roles:
  - role::app
  - role::db
  - role::proxy



Op maandag 2 december 2013 05:58:34 UTC+1 schreef Shiva Narayanaswamy:
>
> I want to implement a scenario where I can mix and match multiple roles on 
> any managed node. The particular roles played by a node are available as 
> facts (role1=webserver, role2=appserver etc )In development all the roles 
> will be played by one host, and in production a server might play only one 
> role. 
>
> I was hoping there will be some way I can implement this in hiera. Any 
> clues or pointers would be much appreciated.
>
> Cheers,
> Shiva
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/d3e40708-46d8-47ee-832c-9cd45b39532e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to