But this issue is considered to be fixed since puppet 4.1.0. Can it be that it never has been fixed for epp templates?
BTW: nearly always when I google a specfic puppet question that arises in practice (like this one) I only find general puppet introduction tutorials. Hardly ever I find the actual answer to my problem. Are there so few puppet users out there? Or are there any tricks I need to know to find the answers?
Thanks and Regards,
Carstem
Henrik Lindberg
unread,
Dec 2, 2016, 10:39:12 AM12/2/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to puppet...@googlegroups.com
On 02/12/16 13:56, exx3...@gmail.com wrote:
> Hello out there,
>
> as puppet newbie I'm trying to create an ini file on Windows 2008 SP2
> with puppet 4.8.0.
> I'm using an epp template for this purpose:
>
> |
> file {"${iniFileDir}\\CS2_PKCS11.INI":
> ensure=>file,
> content =>epp('my_module/CS2_PKCS11.INI.epp'),
> }
> |
>
> The epp file contains Windows line endings. But the resulting ini file
> has Linux line endings.
> How can I change this?
>
Not in a nice way. You would need to post process the result and
insert a \r before every \n.
Please file a ticket a reference PUP-927 as the fix for ERB.
(I looked at PUP-927 and see I commented a long time ago that we need to
fix this for EPP as well).
- henrik
> I've found this very similar issue
> here: https://tickets.puppetlabs.com/browse/PUP-927 > It reports the same behavior for erb templates.
> But this issue is considered to be fixed since puppet 4.1.0. Can it be
> that it never has been fixed for epp templates?
>
> BTW: nearly always when I google a specfic puppet question that arises
> in practice (like this one) I only find general puppet introduction
> tutorials. Hardly ever I find the actual answer to my problem. Are there
> so few puppet users out there? Or are there any tricks I need to know to
> find the answers?
>
> Thanks and Regards,
> Carstem
>