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?

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

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/f9eb37bc-ce23-4428-b825-1712676ecaf4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to