On Jun 4, 4:26 pm, Thomas Bellman <bell...@nsc.liu.se> wrote: > I would probably do it with something like this: > > class node::compute { ... } > class node::database { ... } > > node default > { > include "node::$nodetype" > } > > and get myself a custom fact 'nodetype' that gets set in some suitable > way.
Thanks for the suggestion. I wish there was a simpler approach, like specifying the "type" on the puppetd command-line. In large server farms it seems like it would be a really common need to specify nodes by purpose rather than machine name. -Brad --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---