Issue #2192 has been updated by Francois Deppierraz.

It should be possible to print a more appropriate error message for that 
specific case.

But I don't see any way to avoid deleting a key with an empty comment, because 
a Puppet resource cannot have an empty identifier.
----------------------------------------
Bug #2192: ssh_authorized_key barfs on missing comment in existing keyfile
http://projects.puppetlabs.com/issues/2192

Author: Christoph H
Status: Accepted
Priority: Normal
Assigned to: Francois Deppierraz
Category: ssh
Target version: unplanned
Affected version: 0.24.8
Keywords: 
Branch: 


having an existing authorized_keys file where keys have no comments will throw 
an error

Could not prefetch ssh_authorized_key provider 'parsed': Could not parse line 
"ssh-rsa HEXKEY "

and the offending line will be deleted.


-- 
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://projects.puppetlabs.com/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.

Reply via email to