----------------------------------------
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?
> --
> 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...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@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