Issue #2673 has been updated by Klavs Klavsen.
Well escaping works - but the \/ gets put in the authorized_keys file as \/ (instead of just /) - so yes it's an escaping issue in the parser - some how. I'm just guessing here, but perhaps some regex matching where / is used as the pattern seperator (like s/replace/insert/ :) ---------------------------------------- Bug #2673: ssh_authorized_keys options is detected as changed when it is not http://projects.reductivelabs.com/issues/2673 Author: Klavs Klavsen Status: Accepted Priority: Normal Assigned to: Category: Target version: Affected version: 0.24.8 Keywords: Branch: If I have this ssh key config: <pre> ssh_authorized_key {"[email protected]": ensure => present, type => dsa, target => "/root/.ssh/authorized_keys", options => ["rdiff-backup --server --restrict-read-only /","no-port-forwarding","no-X11-forwarding","no-pty"], #options => 'command="rdiff-backup --server --restrict-read-only /",no-port-forwarding,no-X11-forwarding,no-pty', key => "AAAAB...3I=", user => "root", } </pre> puppet keeps saying: <pre> notice: //Node[dbserver]/basenode/backup/ssh_authorized_key[[email protected]]/options: options changed 'rdiff-backup,--server,--restrict-read-only' to 'rdiff-backup --server --restrict-read-only /,no-port-forwarding,no-X11-forwarding,no-pty' </pre> Even though the options haven't changed obviously :) If you give it the options in a string - it doesn't work either (see bug 1820 - a feature request :) -- 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 -~----------~----~----~----~------~----~------~--~---
