sysboy <[email protected]> writes:
> Ideally I would like something where I could have
>
> class prod_users {
> realize User['user1']
> realize Sshkeys['user1'] # this bit would expand the groups of
> keys and deploy them to user1
> }
I'm still a bit confused, but what I can help you.
I define a bunch of users in user::virtual, along side said users I
define their keys. Some users have more than 1 key. (seph-2008-laptop,
seph-2009-desktop, for example)
Then I have things like this:
class user::unixadmins inherits user::virtual {
User <| title == seph |>
Ssh_authorized_key <| user == seph |>
}
It works well enough, but it's not perfect. I haven't really figured out
how to cleanly say "let seph use his keys to login as user deploy" so
I'm punting that part for now.
seph
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.