Overwrite puppet smart class parameter (file encoding/linebreak)

Hi there,

after a really long time I have some spare time to play around with foreman
again.

I got my test machine installed and some settings deployed with foreman and
puppet - very cool :wink:
I also wanted to handle my sudoers file. So I Installed a puppet module to
do that. I can specify the content of the sudoers file with this plugin and
that works already. The problem is, that the sudoers file on the target
machine has an MS-DOS format which seems not to be valid.

Is there a way how i can set the fileencoding/linebreaks of my overwrite?

Markus

Just taking a guess at this: is that module using a template and might
that template be in MS-DOS format?

Joop

··· On 29-12-2015 14:16, hirnschmalz wrote: > I got my test machine installed and some settings deployed with > foreman and puppet - very cool ;) > I also wanted to handle my sudoers file. So I Installed a puppet > module to do that. I can specify the content of the sudoers file with > this plugin and that works already. The problem is, that the sudoers > file on the target machine has an MS-DOS format which seems not to be > valid. > > Is there a way how i can set the fileencoding/linebreaks of my overwrite? >