On 04/02/2011 08:40 PM, Cody Robertson wrote:
> It looks like the `user` portion is overriding the original resource? I
> haven't checked if this would work but maybe you can do something along
> these lines:
> 
>        Ssh_authorized_key <| title == "test.user.key" |>{
>                 user => ["test.user","studio_app"],
>         }

Probably not.

Afaik, an ssh_authorized_key resource is associated with exactly one user.

What you want to do is
1. assign your key to a variable ($testkey = "AAAgwiv...")
2. declare two ssh_authorized_key resources that both use that variable
as the "key" parameter.

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

Reply via email to