You could do something with a define. But I'm not really sure what your use case is. Can you give an example?
seph sysboy <sys...@gmail.com> writes: > Hi all, > > I want to use puppet to distribute keys to multiple users. I wanted > to do something like we have already: > > - define a key per real person > - define groups containing several keys, people can be in multiple > groups > - deploy these groups of keys to specific users > > however it looks like the ssh_authorized_key resource ties a key and a > user together so it looks like I fall at the first hurdle: > > @ssh_authorized_key { "joe.bloggs": > ensure => "present", > key =>"AAAAB....=", > type => "ssh-rsa", > user => "root" <<<<< I don't want this > } > > I was hoping to realize a groups of these keys and somehow tie them to > users. Any ideas? > > -- > > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-us...@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=. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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=.