ok, the problem it's key comment. I need to remove the key comment (the part after the =)
2009/9/4 chiku chiku <[email protected]>: > > puppet version 0.24.8 from debian lenny-backports > > My class works and resource created the authorized_keys file. > But puppet detect as ensure absent and added again and again > my authorized_keys got fews the same key lines. > I added the target => '/home/test/.ssh/authorized_keys', > again ensure is absent. > > I replace the ssh_authorized_key.rb from 0.25rc1 > and again ensure is absent. > > > class ssh::my_ssh_key { > ssh_authorized_key { 'test': > user => 'test', > type => 'ssh-rsa', > key => 'AAAAB3.....= test Vms', > ensure => 'present', > } > } > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
