Ask Your Question
0

EPP template white space , line breaks in windows

asked 2016-11-29 10:33:25 -0500

senthilvv28 gravatar image

Hi,

Trying to build dynamic web.config files with Hierra, EPP templates. While the output is correct , we notice all the line breaks and indentation is lost as part of template processing. Is there a way to preserve the original formatting so it will look readable in windows servers.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-11-30 10:13:42 -0500

Hello,

Are you using the space trimming syntax when evaluating expressions?

https://docs.puppet.com/puppet/latest...templateepp.html#space-trimming

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-11-29 10:33:25 -0500

Seen: 21 times

Last updated: Nov 30 '16