TraGicCode / tragiccode-ravendb

0 stars 1 forks source link

Correctly inject line endings into ravendb config template #3

Closed TraGicCode closed 6 years ago

TraGicCode commented 6 years ago

Before i did a bit of a hack to inject in line endings to my ERB template. I should probably using something more formal like the below OR just save the file with the correct line endings.

https://github.com/TraGicCode/tragiccode-ravendb/blob/26d9509b1db4632593045d8b0e70a2d14df2009c/manifests/config.pp#L13-L16

Option 1: https://github.com/puppetlabs/puppetlabs-stdlib#unix2dos https://github.com/puppetlabs/puppetlabs-stdlib#dos2unix

Option 2: Save file with correct line endings