- From: Adam Edwards <
>
- To:
- Subject: [chef] RE: Newlines in templates
- Date: Tue, 5 Nov 2013 10:54:36 -0800
Joshua, which file has the DOS newlines are you saying a template file in the simple_iptables cookbook has it? Or is the issue that your editor is doing DOS style newlines?
If its the latter, I think the simplest thing is to just configure the editor to do Unix line-endings. I get that that can still be challenging if there are multiple people working on these things and you need to enforce Unix-line endings for everyone.
-Adam
From: THARP, JOSHUA L [mailto:
">
] Sent: Tuesday, November 5, 2013 10:28 AM
To:
">
Subject: [chef] Newlines in templates Im reusing the simple_iptables cookbook and working on a Windows PC for my workstation. My rules file is failing when I converge the node, and it tries to restart iptables. The problem seems to be the newlines in the file are DOS. For my own cookbooks I can set the newlines to always be UNIX, but I dont want to edit a community cookbook. Is there a Chef/knife trick for ensuring that the template newlines are platform appropriate?
|
- [chef] Newlines in templates, THARP, JOSHUA L, 11/05/2013
- [chef] RE: Newlines in templates, Adam Edwards, 11/05/2013
- [chef] RE: RE: Newlines in templates, THARP, JOSHUA L, 11/05/2013
- [chef] Re: RE: RE: Newlines in templates, Martha Greenberg, 11/05/2013
- [chef] RE: Re: RE: RE: Newlines in templates, THARP, JOSHUA L, 11/06/2013
- [chef] Re: RE: Re: RE: RE: Newlines in templates, Julian C. Dunn, 11/06/2013
- [chef] Re: Re: RE: Re: RE: RE: Newlines in templates, Daniel Condomitti, 11/06/2013
- [chef] Re: Re: Re: RE: Re: RE: RE: Newlines in templates, Tensibai, 11/07/2013
- [chef] RE: Re: Re: Re: RE: Re: RE: RE: Newlines in templates, THARP, JOSHUA L, 11/07/2013
- [chef] Re: RE: Re: Re: Re: RE: Re: RE: RE: Newlines in templates, Tensibai, 11/07/2013
- [chef] RE: Re: RE: Re: Re: Re: RE: Re: RE: RE: Newlines in templates, THARP, JOSHUA L, 11/07/2013
Archive powered by MHonArc 2.6.16.