Issue #21949 has been reported by Jason Faultless.

----------------------------------------
Bug #21949: Problem parsing options in ssh_authorized_key
https://projects.puppetlabs.com/issues/21949

* Author: Jason Faultless
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
The following options line in a ssh_authorized_key resource isn't working as 
expected:

options => [ "command=\"if [ -n \\\"\$THING\\\" ];then echo;fi\"", ],

When it is applied it writes the correct string out but repeated runs don't 
seem to parse in the rule correctly (it is truncated by the \\\") and always 
trigger a change

Notice: /Stage[main]//Ssh_authorized_key[test]/options: options changed 
'command="if [ -n \"' to 'command="if [ -n \"$THING\" ];then echo;fi"'

[ We're doing rather more work in the option, the above is enough to display 
the behaviour ]


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to