Forum: Cfengine Help
Subject: Re: Cfengine Help: Re: Insert a block of text
Author: neilhwatson
Link to topic: https://cfengine.com/forum/read.php?3,17042,17044#msg-17044
I don't edit files in any truly advanced way. Might select region help?
http://www.cfengine.org/manuals/cf3-reference
On Wed, Apr 28, 2010 at 02:23:04PM -0400, fo...@cfengine.com wrote:
>Forum: Cfengine Help
>Subject: Re: Insert a block of text
>Author: pieterb
>Link to topic: https://cfengine.com/forum/read.php?3,17019,17024#msg-17024
>
>Is there no way to make Cfengine to treat the bunch of lines as if it were
Try emptying the file first (edit_defaults) and reconstruct the entire file.
This should solve the issue you are running into.
On 29/04/2010 10:59 PM, wrote:
Forum: Cfengine Help
Subject: Re: Insert a block of text
Author: pieterb
Link to topic: https://cfengine.com/forum/read.php?3,17019,17034#
Forum: Cfengine Help
Subject: Re: Insert a block of text
Author: pieterb
Link to topic: https://cfengine.com/forum/read.php?3,17019,17034#msg-17034
It seems quite obvious that some configuration files require a determined
ordering in order to function correctly. I could work around it, but that w
On Thu, Apr 29, 2010 at 08:41:26AM -0400, fo...@cfengine.com wrote:
>Forum: Cfengine Help
>Subject: Re: Insert a block of text
>Author: Seva Gluschenko
>Link to topic: https://cfengine.com/forum/read.php?3,17019,17032#msg-17032
>
>From my current discussion with Mark Burgess, Cfengine's developer,
Forum: Cfengine Help
Subject: Re: Insert a block of text
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17019,17032#msg-17032
>From my current discussion with Mark Burgess, Cfengine's developer, it seems
>like he maintains such approach intentionally. If nobody succe
Forum: Cfengine Help
Subject: Re: Insert a block of text
Author: pieterb
Link to topic: https://cfengine.com/forum/read.php?3,17019,17030#msg-17030
My current code is exactly like this; as you can see there are no double quotes
to escape, this cannot be the problem.
The block of text gets insert
Forum: Cfengine Help
Subject: Re: Insert a block of text
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17019,17025#msg-17025
vars:
"multiline" string => "This is the sample
multiline variable.
You only have to \"escape\" double quotes";
Forum: Cfengine Help
Subject: Re: Insert a block of text
Author: pieterb
Link to topic: https://cfengine.com/forum/read.php?3,17019,17024#msg-17024
Is there no way to make Cfengine to treat the bunch of lines as if it were only
one line with breaks in them?
__
Forum: Cfengine Help
Subject: Re: Insert a block of text
Author: Seva Gluschenko
Link to topic: https://cfengine.com/forum/read.php?3,17019,17023#msg-17023
Pieter,
you either need to flush the file and start it over, or to add "delete_lines:"
promise into your edit_line bundle which removes chan
10 matches
Mail list logo