Hi Michael This works, but I'm not sure it's the best way about going about it. I'm > trying to define host groups in my site.pp file in such a way that when > puppet runs on my nodes, they "know" their functional role and are > configured accordingly.
May I suggest that you look into using a node classifier (ENC) or at least hiera to separate data from code? I have a module called 'role' with classes like 'workstation' and 'compute' which include other classes. Then I can just assign the class role::workstation or role::compute to a node. Cheers, Paul -- 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.
