With the risc I ask a queston answered a hunderd times before (which I 
couldn't find)...

On node A I want to create a ssh key. For this I exec a ssh-keygen. Now I 
want the generated public key added to the authorized key file of node B. 
Probably I need the ssh_authorized_key resource for this. But then I need 
the public key of node A as a string in node B. I can't see how to achieve 
this with exported resources. So my guess is that I need to write a custom 
fact to read ~/.ssh/id_rsa.pub on node A in order to collect it on node B.

Is this the way I should go? Or is there a better approach?

Thanks, Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to