On 04/12/2012 05:19 PM, Nick Anderson wrote:
On 04/12/2012 09:43 AM, Bas van der Vlies wrote:
and if i used edit_template the new line are gone:
By the way i love this new feature!. Is there a way to preserve the layout?

Diego mentioned that blank lines were stripped in the webinar yesterday.

What if you include blank lines inside of a BEGIN/END block?

What if you include empty commented lines to fill that "whitespace", I
think this will still need to be inside of a block since "Each line
represents an insert_lines promise, unless the promises are grouped into
a block using: "
https://cfengine.com/manuals/cf3-reference#edit_005ftemplate-in-files

Probably we could use some additional explanation about the output to
expect in the documentation.


Nick thanks for tip the trick with BEGIN/END Block works.


--
********************************************************************
*  Bas van der Vlies                    e-mail: b...@sara.nl       *
*  SARA - Academic Computing Services   Amsterdam, The Netherlands *
********************************************************************

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to