Issue #4488 has been updated by Andrew Gaffney.

In my case, it tripped over itself parsing a blank line between comments and 
keys. After that, it clobbered the whole file and only wrote the managed 
entries.
----------------------------------------
Bug #4488: ssh_authorized_key trips over comments in file
https://projects.puppetlabs.com/issues/4488

Author: martin krafft
Status: Accepted
Priority: Normal
Assignee: 
Category: ssh
Target version: Statler
Affected Puppet version: 0.25.4
Keywords: ssh_authorized_key parser comments
Branch: 


I am getting:

<pre>
err: Could not prefetch ssh_authorized_key provider 'parsed': Could not parse 
line "" at /root/.ssh/authorized_keys:4
</pre>

This is due to the fact that I use comments in the authorized_keys file, which 
I assemble automatically:

<pre>
% sed -ne 4p /root/.ssh/authorized_keys
### from authorized_keys.d/[email protected]:
</pre>

Please use a more robust way to scan for puppet comments.



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