I solved this issue, by using netgroups (in LDAP) - which is loaded into puppet, by a script which is run by external_nodes setting (it just provides parameters - no actual nodes).
This way, a server can have multiple roles (by being in multiple netgroups). Unfortunately hiera can't currently handle if an array in it's lookup hierachy - now that would be a really great addition to hiera :) I then just group servers (or other netgroups) in netgroups as needed. -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
