Issue #2812 has been reported by Matt Peterson.
----------------------------------------
Bug #2812: ssh_authorized_key fails if existing non-puppet installed key file
exists already
http://projects.reductivelabs.com/issues/2812
Author: Matt Peterson
Status: Unreviewed
Priority: Normal
Assigned to:
Category:
Target version:
Affected version: 0.25.1
Keywords:
Branch:
Assuming the chunk of config...
ssh_authorized_key { "square_ssh_key":
user => square,
ensure => present,
type => ssh-rsa,# key => "AAAAB",
require => [Group["square"],User["square"]]
}
With an existing key deployed...
[r...@bastion home]# cat ~square/.ssh/authorized_keys | sed 's/B3.*/.../g'
ssh-rsa AAAA...
debug: //user_square/Ssh_authorized_key[square_ssh_key]: Changing ensure
debug: //user_square/Ssh_authorized_key[square_ssh_key]: 1 change(s)
notice: //user_square/Ssh_authorized_key[square_ssh_key]/ensure: created
debug: Flushing ssh_authorized_key provider target
/home/square/.ssh/authorized_keys
debug: Finishing transaction 23542860530260 with 0 changes
err: Got an uncaught exception of type ArgumentError: Field 'name' is required
However, removing the ssh file fixes this error. I tried various name
directives with no attempt at fixing this. Cheers.
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://reductivelabs.com/redmine/my/account
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" 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-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---