Hello, I have the same issue :
ssh_authorized_key { "user-rsa-key": ensure => 'present', key => '*******************== user@servername', type => 'rsa', user => 'user', require => File["/home/user/.ssh"], } On my server it adds the same key every time puppet run : notice: /Stage[main]/Check_drbd/Ssh_authorized_key[user-rsa-key]/ensure: created info: FileBucket adding /home/user/.ssh/authorized_keys as {md5}c2f4b42******* I don't see the issue ? Thanks for the help ! Hugo On 7 March 2011 13:09, Felix Frank <felix.fr...@alumni.tu-berlin.de> wrote: > On 02/25/2011 10:00 PM, Stefan Schulte wrote: > > On Thu, Feb 24, 2011 at 01:57:14PM -0800, mark risher wrote: > >> Thanks, but I do have those parameters; I was trying to keep my quote > >> short. Here's the full monty: > >> > >> # create an ssh key for this user > >> ssh_authorized_key { "$username.$ssh_public_key": > >> ensure => present, > >> key => $ssh_public_key, > >> type => $ssh_key_type, > >> user => $username, > >> } > > Is there per chance any junk in your $ss_public_key? Puppet will get > confused if there is e.g. the original key name in the "key" parameter > (such as "AAAAB3NzaC1y...rN3YQ== foo...@myhost.domain.org") > > 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. > > -- 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.