Jira (PUP-6968) puppet replaces line endings when creating files from epp template

4 views
Skip to first unread message

aft62562 (JIRA)

unread,
Dec 2, 2016, 11:07:02 AM12/2/16
to puppe...@googlegroups.com
aft62562 created an issue
 
Puppet / Bug PUP-6968
puppet replaces line endings when creating files from epp template
Issue Type: Bug Bug
Affects Versions: PUP 4.8.0
Assignee: Unassigned
Components: Windows
Created: 2016/12/02 8:06 AM
Environment:

Windows Server 2008 SP2 32bit

Priority: Normal Normal
Reporter: aft62562

On Windows puppet replaces Windows line endings by Linux line endings when creating files from epp templates.

This corresponds to https://tickets.puppetlabs.com/browse/PUP-927 which addressed the same issue for erb templates.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe)
Atlassian logo

Moses Mendoza (JIRA)

unread,
Dec 5, 2016, 2:51:04 PM12/5/16
to puppe...@googlegroups.com

Moses Mendoza (JIRA)

unread,
Dec 5, 2016, 2:52:03 PM12/5/16
to puppe...@googlegroups.com
Moses Mendoza commented on Bug PUP-6968

cc Ethan Brown Josh Cooper added this `maintenance` label if either of you are in the market for some

Moses Mendoza (JIRA)

unread,
Dec 5, 2016, 2:52:03 PM12/5/16
to puppe...@googlegroups.com

Henrik Lindberg (JIRA)

unread,
Dec 6, 2016, 6:16:03 AM12/6/16
to puppe...@googlegroups.com
Henrik Lindberg commented on Bug PUP-6968
 
Re: puppet replaces line endings when creating files from epp template

I think we have the same issue with regular parser. If you for instance are using a Heredoc to contain a template that heredoc would not contain CR.
Thus, the reading of all .pp source code should use the same mechanism to enable keeping the CR characters.

When doing this, it is important that it is as fast as possible.

Maggie Dreyer (JIRA)

unread,
May 16, 2017, 3:07:04 PM5/16/17
to puppe...@googlegroups.com
Maggie Dreyer updated an issue
 
Change By: Maggie Dreyer
Labels: help_wanted maintenance  triaged

Moses Mendoza (JIRA)

unread,
May 18, 2017, 1:55:02 PM5/18/17
to puppe...@googlegroups.com

Henrik Lindberg (JIRA)

unread,
May 31, 2017, 7:48:03 AM5/31/17
to puppe...@googlegroups.com

Josh Cooper (Jira)

unread,
Jun 3, 2021, 9:35:02 PM6/3/21
to puppe...@googlegroups.com
Josh Cooper commented on Bug PUP-6968
 
Re: puppet replaces line endings when creating files from epp template

I'm not able to reproduce this when running puppet apply on Windows, or when a Windows agent retrieves a catalog from a Linux puppetserver. I'm going to close, but feel free to reopen with steps to reproduce.

This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages