[Puppet Users] how to refresh ssh/authorized_keys file content ?

2012-06-12 Thread eduardo
Hi all, How to refresh ssh/authorized_keys file content ? I'm trying massive loading keys. I need refresh authorized_keys file content. I try delete file before call ssh_authorized_key : exec { "del_${user_local}_authorized_keys": command => "rm /home/$user_local/.ssh/

Re: [Puppet Users] how to refresh ssh/authorized_keys file content ?

2012-06-13 Thread Felix Frank
Hi, On 06/12/2012 07:39 PM, eduardo wrote: > Hi all, > > How to refresh ssh/authorized_keys file content ? > > I'm trying massive loading keys. I need refresh authorized_keys file > content. > > I try delete file before call ssh_authorized_key : please don't. This is *not* how you are suppo

Re: [Puppet Users] how to refresh ssh/authorized_keys file content ?

2012-06-15 Thread Jo Rhett
On Jun 15, 2012, at 8:19 AM, Nan Liu wrote: > To support purging, the puppet type need to to be able to query all > instances of the resource. In this case because ssh_authorized_keys > can write to different file locations, it does not have the ability to > detect all ssh keys that exists on the s

Re: [Puppet Users] how to refresh ssh/authorized_keys file content ?

2012-06-18 Thread David Schmitt
On 16.06.2012 02:42, Jo Rhett wrote: On Jun 15, 2012, at 8:19 AM, Nan Liu wrote: To support purging, the puppet type need to to be able to query all instances of the resource. In this case because ssh_authorized_keys can write to different file locations, it does not have the ability to detect a