>> Then simply use it as >> pooled_user { >> "jim": key => "AAAAB3N..."; >> "joe": key => "AAAAB3N..."; >> "jack":key => "AAAABsX..."; >> } > > However, this pieve of code isn't going to work because as my definition > would look like the following... > > ---------------------------------------------------------------------- > node node1 { > > pooled_user { > "jim": key => "AAAAB3N...", systemuser => "foo"; > "jim": key => "AAAAB3N...", systemuser => "bar"; > } > > } > ---------------------------------------------------------------------- > > ... making puppet throwing "duplicate definition" errors again because > the resource name has been declared twice. > > Many thanks for your support! :)
And why would they both be named "jim"? I don't even see why you need the $systemuser parameter. Just make the resource name be the username on the system in question. Cheers, Felix -- 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.