Issue #16836 has been reported by Rob Terhaar. ---------------------------------------- Bug #16836: puppet resource face is eating my newlines https://projects.puppetlabs.com/issues/16836
Author: Rob Terhaar Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: 2.7.19 Keywords: Branch: When I do: <pre> puppet resource file "/tmp/config" ensure=file content="line1 \n line2" </pre> I expect that the resulting file looks like: <pre> line1 line2 <pre> However, the newline gets dropped. Additionally, I have tried various other iterations, and none of these have worked: <pre> puppet resource file "/tmp/config" ensure=file content="line1 \\n line2" puppet resource file "/tmp/config" ensure=file content='line1 line2' puppet resource file "/tmp/config" ensure=file content="line1 \ line2" </pre> -- 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.
