What I did, was to simply write my own fact, that reads the "id_rsa.pub" file - and then in the manifest, I simply check if that fact is != "" - and if so - do @@ssh_authorized_key.. with the public key - and collect that where I want it.
I have several webservers - which all need to have a key (I simply do an exec, with creates defined - so it's only run if it's not already been done) and then have the public part on one central server. -- 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 puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.