Issue #2673 has been updated by Klavs Klavsen.
This works:
options => ['command="rdiff-backup --server
--restrict-read-only ",no-port-forwarding,no-X11-forwarding,no-pty'],
So you seem to be on the money, in regards to the / causing the problem.
Only problem is that the command won't work without the / ;)
----------------------------------------
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:
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",
}
puppet keeps saying:
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'
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
-~----------~----~----~----~------~----~------~--~---