Issue #1737 has been updated by thias.

I've just tried your fix, and it works. Thanks a lot!

There is a minor cosmetic issue left. Possibly unrelated, though. When the 
options change, the client's logs prints a notice with the old options and the 
new ones. The old options are all joined (hard to read), whereas the new ones 
are space separated (probably the correct way to display). Example :

<pre>
(notice): options changed 
'from="*.domain1,host1.domain2"no-port-forwardingno-agent-forwardingno-X11-forwardingno-pty'
 to 'from="*.domain1,host2.domain2" no-port-forwarding no-agent-forwarding 
no-X11-forwarding no-pty'
</pre>

Thanks again for the fix, I hope it gets into 0.24.7.
----------------------------------------
Bug #1737: ssh_autorized_key cannot parse lines with a command containing a 
comma
http://projects.reductivelabs.com/issues/show/1737

Author: thias
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: ssh
Target version: 
Complexity: Unknown
Affected version: 0.24.6
Keywords: 


I'm seeing a problem similar to the one in ticket #1417 but with commas "," 
instead of spaces " ".

Using ssh_authorized_key, I'm passing the option @from="host1,host2"@ and when 
doing that, puppet thinks the options have changed at each run, and updates the 
@~/.ssh/authorized_keys@ files every time. Not a huge blocker, but it's filling 
up the logs with useless entries.

Example log entry that is seen every run :
<pre>
Fri Nov 07 10:24:59 +0100 2008 
//Node[foo]/bar-server/Bogus-user[bogus]/user-bogus/Ssh_authorized_key[bogus]/options
 (notice): options changed 
'from="host1host2"no-port-forwardingno-agent-forwardingno-X11-forwardingno-pty' 
to 'from="host1,host2" no-port-forwarding no-agent-forwarding no-X11-forwarding 
no-pty'
</pre>

When I change the @from=""@ option to contain a single host, hence without any 
comma, then all works fine. This is using puppet 0.24.6.


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