Issue #1753 has been updated by masterzen.

Status changed from Accepted to Duplicate

I'm afraid it is unfixable for the moment. 

The comment is used as the namevar (title) of the ressource. If there is none, 
then that means the resource has no title which is impossible in Puppet.

This is a variation of bug #1531, hence I changed the status to duplicate.
----------------------------------------
Bug #1753: ssh_authorized_key chokes on keys without a comment
http://projects.reductivelabs.com/issues/show/1753

Author: emerose
Status: Duplicate
Priority: Normal
Assigned to: masterzen
Category: ssh
Target version: 0.24.7
Complexity: Unknown
Affected version: 0.24.5
Keywords: 


We have a user with an ssh key that doesn't have a comment.  (Ie, the format of 
the line is just "ssh-rsa <key>\n").  when attempting to manage authorized_keys 
for that user, puppet explodes:

>err: Got an uncaught exception of type ArgumentError: Field 'name' is required

This appears to be a perfectly legitimate syntax for that line -- for example, 
one of the examples in 
http://www.openbsd.org/cgi-bin/man.cgi?query=sshd&sektion=8 doesn't have a 
comment -- and openssh doesn't seem to mind, so I don't think puppet should 
mind, either.


----------------------------------------
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to