The Puppet Labs Issue Tracker has Moved: https://tickets.puppetlabs.com
https://tickets.puppetlabs.com. See the following page for information on filing tickets with JIRA:
ssh_authorized_key chokes on keys without a comment
|Assignee:||Brice Figureau||% Done:|
|Affected Puppet version:||0.24.5||Branch:|
Ticket tracking is now hosted in JIRA: https://tickets.puppetlabs.com
We have a user with an ssh key that doesn’t have a comment. (Ie, the format of the line is just “ssh-rsa
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.
#2 Updated by Brice Figureau over 7 years ago
- 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.