This was the approach I was going to try next.  I just didn't know if
what I did should work.

Thanks,
Bryan

On Thu, 17 Dec 2009 nwat...@symcor.com wrote:

> Date: Thu, 17 Dec 2009 11:04:44 -0500
> From: nwat...@symcor.com
> To: Bryan Ramirez <rami...@besh.com>
> Cc: help-cfengine@cfengine.org, help-cfengine-boun...@cfengine.org
> Subject: Re: List iteration within parameterized bundles
> 
> You can pass the entire list for greater efficiency.
> ...
>    files:
>
>        redhat|suse|sunos_5_10::
>
>            "${crontabs}/root"
>                comment => "Added cron jobs to table.",
>                edit_line => AppendIfNoLine("@{cron.root_cron_lines}");
> }
>
> bundle edit_line AppendIfNoLine(line) {
>    insert_lines:
>        "${line}" location => "append";
> }
>
> body location append {
>    before_after => "after";
> }
>
> Sincerely,
> --
> Neil Watson
> 416-673-3465
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to