I just happened to use that as a test case. What I'm trying to figure out is 
how to do the (valid) equivalent of this;

        "/tmp/testfile"
            edit_line   =>  test_edit("string1","string1Edit"),
            edit_line   =>  test_edit("string2","string2Edit"),
            edit_line   =>  test_edit("string3","string3Edit"),
            edit_line   =>  test_edit("string4","string4Edit");

I'm having trouble sorting out the data structures and how to pass them around 
to best provide an edit_line bundle with value pairs.
 

On Feb 18, 2011, at 12:21 PM, [email protected] wrote:

> Forum: Cfengine Help
> Subject: Re: edit_line / syntax help
> Author: neilhwatson
> Link to topic: https://cfengine.com/forum/read.php?3,20759,20760#msg-20760
> 
> You seem to be replacing a line that is commented with a line that is not.  
> It might be easier to simply append the file instead.
> 
> _______________________________________________
> Help-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/help-cfengine

_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to