Maybe something like this?

----------------------------------------
class users {

user { 'cwood':
  password => $fqdn ? {
    'host1' => 'password1',
    'host2' => 'password2',
  },
}

}

include users
----------------------------------------

If you use a scripted generator to pop out the manifest from predefined lists 
of users and hosts that will be easier on you.

But now I'm really, really curious about why you're configuring the opposite of 
centralized authentication. What criteria are you attempting to fit into?

On Tue, Jan 17, 2012 at 11:44:01AM -0800, Jamie wrote:
>    Say I have 50 user accounts that must exist on 3 hosts, each with
>    different passwords (3 hosts, 50 users, 150 passwords).  Is it possible to
>    do this without defining each user 3 times?
> 
>    Thank you
> 
>    --
>    You received this message because you are subscribed to the Google Groups
>    "Puppet Users" group.
>    To view this discussion on the web visit
>    [1]https://groups.google.com/d/msg/puppet-users/-/gyB1oArF5kAJ.
>    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.
> 
> References
> 
>    Visible links
>    1. https://groups.google.com/d/msg/puppet-users/-/gyB1oArF5kAJ

-- 
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.

Reply via email to