Re: Write to files - Problem with Examples

2010-04-29 Thread Mark Burgess
You have named the bundle TestWrite, so you must write the reference as files: "/tmp/test_insert" create => "true", edit_line => append_if_no_line("@(TestWrite.lines)"); tktuc...@gmail.com wrote: > I am having troubles using some of the very basic examples listed in the > C3 Solutions guide

Re: Cfengine Help: Re: Write to files - Problem with Examples

2010-04-29 Thread Tom Tucker
quot; - use @(scope.variable) in calling reference On Thu, Apr 29, 2010 at 8:56 PM, 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 > >

Cfengine Help: Re: Write to files - Problem with Examples

2010-04-29 Thread forum
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".

Write to files - Problem with Examples

2010-04-29 Thread tktucker
I am having troubles using some of the very basic examples listed in the C3 Solutions guide (url below). When testing "3.1 Add lines to a file" the output file contains # cat /tmp/test_insert @(insert.lines) # /var/log/messages List parameter "insert.lines" not found while constructing s