>
> What you are doing byusing the getindices() list variable directly as an
> arbument to the edit bundle is to iterate over the editing of the file
> itself, i.e. you are saying
>
> for each index do
> edit file(...index )
> edit lines
>
> You should pass the list as @(bundle.list)
On Fri, Mar 26, 2010 at 9:01 AM, milo...@gmail.com wrote:
> On Thu, Mar 25, 2010 at 9:54 PM, Todd Sayers wrote:
>> I should have clarified that I'm using version_2 (installed via a "Dag
>> Wieers" RPM -- cfengine-2.2.3-1.el5.rf ). I haven't seen "bundles" in
>> CFengine v2.
>>
>> Thanks for your
On Thu, Mar 25, 2010 at 9:54 PM, Todd Sayers wrote:
> I should have clarified that I'm using version_2 (installed via a "Dag
> Wieers" RPM -- cfengine-2.2.3-1.el5.rf ). I haven't seen "bundles" in
> CFengine v2.
>
> Thanks for your answer. I don't think that it's relevant to v2 (and could
> be w
hat).
> To: help-cfengine@cfengine.org
> Subject: Cfengine Help: Re: cfengine edit_line - don't understand,must be
> something very basic
> From: fo...@cfengine.com
> Date: Thu, 25 Mar 2010 22:45:27 +0100
>
> Forum: Cfengine Help
> Subject: Re: cfengine edit_line - do
Forum: Cfengine Help
Subject: Re: cfengine edit_line - don't understand, must be something very basic
Author: mark
Link to topic: https://cfengine.com/forum/read.php?3,16672,16674#msg-16674
What you are doing byusing the getindices() list variable directly as an
arbument to the edit bundle
Hi,
in some cases I have to edit a file multiple times. I found that file
changes every time although it contains the required lines. I'm quite
sure I'm missing something very basic.
I've set up a small test file, please find it below.
I run the latest RPM of community edition.
cf-agent -V
This