Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
puppet --version
4.10.8
-
Needs Assessment
Description
page
https://puppet.com/docs/puppet/4.10/resources_file_windows.html#handling-line-endings
expected result
Having \r\n in the template is supposed to add CRLF but this comes back untranslated
actual result
Following the instructions gives one long line of text or one long line of text with literal \r\n
testcase
Escape codes in the template doesn't work:
test.epp:
line 1\r\n
|
line 2\r\n
|
:P\r\n
|
test.txt:
line 1\r\nline 2\r\n:P\r\n
|