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/
authorized_keys ; touch /home/$user_local/.ssh/authorized_keys ; chown
$user_local:$user_local /home/$user_local/.ssh/authorized_keys",
path => '/bin:/usr/bin',
}
First run only delete file and in the second one I got desired
result.
I think is possible create content file using template but before
leave ssh_authorized_key resource type way I want to know any other
chance.
Regards,
Eduardo.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.