>
> I can't use the same class with different parameters for the same node


Classes can only be declared once per node. If you want multiple somethings 
per node, you need defined types.

Would something like this work?

define foo($param) {
  notice { $param: }
}

node example {
  foo { 'test1': }
  foo { 'test2': }
}

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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to