See this earlier thread.
https://cfengine.org/pipermail/help-cfengine/2009-December/006742.html
Sincerely,
--
Neil Watson
416-673-3465
CONFIDENTIALITY WARNING
This communication, including any attachments, is for the exclusive use of
addressee and may contain proprietary and/or confidential in
elp-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"
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(l
See
http://www.cfengine.org/manuals/cf3-reference.html#List-variable-substitution-and-expansion
Bryan Ramirez wrote:
> Here's a very simple example of something that looks like it should work
> and doesn't. My question is should I find a different way of doing
> this, or should this work?
>
>
Here's a very simple example of something that looks like it should work
and doesn't. My question is should I find a different way of doing
this, or should this work?
This will just put "server 10.90.34.15" into the file, but not the other
line.
bundle agent ntp {
vars:
"ntpserver