Forum: CFEngine Help
Subject: Re: About "new" templates correct usage or limitations
Author: th
Link to topic: https://cfengine.com/forum/read.php?3,26723,26780#msg-26780

mark Wrote:
-------------------------------------------------------
> The begin end only mark iterated sections. If it
> was the whole file, you would not need a begin and
> end,

I understand. 

But let's say you don't want/need to iterate sections but only to verbatim copy 
the whole file with some variables expansions. How would you do that ?

  -> begin/end blocks are not meant for that

  -> "preserve_block" is not an option either since the string max size would 
be too small (I'm not saying you should grow it !).

Thanks for your time and your work !

--
TH.

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

Reply via email to