Issue #1820 has been updated by Stefan Schulte.

Assignee deleted (Francois Deppierraz)


----------------------------------------
Feature #1820: ssh_authorized_keys - keeps regenerating file when using 
multiple options
https://projects.puppetlabs.com/issues/1820#change-61209

Author: Sven Mueller
Status: Closed
Priority: Low
Assignee: 
Category: ssh
Target version: 
Affected Puppet version: 0.24.5
Keywords: 
Branch: 


Oh well, this isn't exactly true if you use the syntax you should use (passing 
an array to options), but if you use a single string listing all options you 
want (comma separated like ssh wants them), puppet doesn't complain, but keeps 
regenerating the options on every run. 
What's more, the message it displays when doing so seems to indicate that the 
original file was syntactically wrong:

notice: 
//Node[a-proxy0.f.q.d.n]/baseclasses/nagios-client/Ssh_authorized_key[nagios_by_ssh_srv-mon0]/options:
 options changed 
'from="srv-mon0"command="/bin/true"command="/bin/false"command="/bin/echo"' to 
'from="srv-mon0",command="/bin/true",command="/bin/false",command="/bin/echo"'

As you can see, the options shown as the original version simply has no 
separating commas (which it actually had of course).

There seems to be some formatting missing in the notice output IMHO.


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