Thanks Neil. I switches it from "insert.lines" to "lines" with the following results.
# cat /tmp/test_insert @(lines) /var/log/messages Apr 29 23:24:17 usg-admin9902 cf3[12946]: List parameter "lines" not found while constructing scope "append_if_no_line" - use @(scope.variable) in calling reference On Thu, Apr 29, 2010 at 8:56 PM, <fo...@cfengine.com> wrote: > Forum: Cfengine Help > Subject: Re: Write to files - Problem with Examples > Author: neilhwatson > Link to topic: https://cfengine.com/forum/read.php?3,17043,17045#msg-17045 > > Your list is called "lines" but you refer to it later as "insert.lines". > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@cfengine.org > https://cfengine.org/mailman/listinfo/help-cfengine >
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine