On 1/22/2009 9:10 AM, Arnau Bria wrote: > Is there ant way for grouping node in nodes.pp?
The following should work for what you described. I use a similar model to have a parent class for all compute cluster nodes, and then child classes for each group of nodes that needs a slightly different policy (a reboot schedule for nodes that operate as Windows PCs during the day, another group that should have a particular piece of software loaded on them, etc.) class worker-node { include C } class worker-node-a inherits worker-node { include A } class worker-node-b inherits worker-node { include B } node "td234.pic.es" { include worker-node-a } node "td065.pic.es", "td006.pic.es" { include worker-node-b } -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---