Sans
2014-Apr-23 10:28 UTC
[Puppet Users] How to apply a set of configurations to a specific host group?
Hi all, For some historical reason, our hosts are not systematically named nor matches with the service(s) it runs and I don't see it's changing any time soon. So using a Regex in the nodename is not really an option for me. I have four environments - Dev, Int, Stage and Live - and I've just started using hiera to define the nodes like this: curr_coll_list:> - mon510.back.local > - mon507.mgrt.local > > curr_db_list: > - mon512.mgrt.local > - pdb511.back.local > - pdb504.back.local >Is there any way I can use that to apply a set of configurations to, say curr_coll_list? Or, what are the other options I have? I know that node can have a comma separated list of host names but that doesn't make things any easier for me. Best, San -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c8369c3a-be6b-4623-add3-a4dfea4da1d9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.