Issue #2673 has been updated by Tim Nicholas.
Just so other people know, this problem exists in 0.25.4 if specifying options
with a single string/array element. It can be avoided if you use an array of
independent options and let puppet do the record separation.
Where these fail:
options => 'from="192.168.1.222",command="/usr/local/bin/rrsync -ro /"',
options => [ 'from="192.168.1.222",command="/usr/local/bin/rrsync -ro
/"' ],
This succeeds:
options => [ 'from="192.168.34.222"', 'command="/usr/local/bin/rrsync
-ro /"' ],
Obviously I'm not the only one who expects to be able to put one big string for
the options so it'd be great if this was fixed.
----------------------------------------
Bug #2673: ssh_authorized_keys options is detected as changed when it is not
http://projects.puppetlabs.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://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.