Issue #21949 has been updated by Charlie Sharpsteen. Description updated Category set to ssh Status changed from Unreviewed to Investigating Keywords set to ssh_authorized_key
Re-producible. This is probably an issue with the parsedfile provider not being able to properly re-parse the command field so the resource is constantly marked as out of sync. Will look into this. ---------------------------------------- Bug #21949: Problem parsing options in ssh_authorized_key https://projects.puppetlabs.com/issues/21949#change-95636 * Author: Jason Faultless * Status: Investigating * Priority: Normal * Assignee: * Category: ssh * Target version: * Affected Puppet version: * Keywords: ssh_authorized_key * Branch: ---------------------------------------- The following options line in a ssh_authorized_key resource isn't working as expected: <pre> options => [ "command=\"if [ -n \\\"\$THING\\\" ];then echo;fi\"", ], </pre> 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 <pre> Notice: /Stage[main]//Ssh_authorized_key[test]/options: options changed 'command="if [ -n \"' to 'command="if [ -n \"$THING\" ];then echo;fi"' </pre> [ 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.
