Cfengine Help: Re: readstringlist in 3.1.0

2010-11-15 Thread no-reply
Forum: Cfengine Help Subject: Re: readstringlist in 3.1.0 Author: mark Link to topic: https://cfengine.com/forum/read.php?3,19180,19264#msg-19264 A quick test shows that it is not broken, but there is a bug for lists of length 1, a patch will be released soon

Cfengine Help: Re: readstringlist in 3.1.0

2010-11-15 Thread no-reply
Forum: Cfengine Help Subject: Re: readstringlist in 3.1.0 Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19180,19263#msg-19263 Do I understand this correctly? Is list iteration broken in 3.1.0? Is there a bug I can follow

Re: readstringlist in 3.1.0

2010-11-10 Thread Mark Burgess
>>>>> bundlesequence => { setup, atest }; >>>>>>> version => "0.01"; >>>>>>> } >>>>>>> >>>>>>> bundle agent setup { >>>>>>> >>>>>

Re: readstringlist in 3.1.0

2010-11-10 Thread Michael Potter
} >>>>>> >>>>>> bundle agent setup { >>>>>> >>>>>> files: >>>>>> >>>>>>    "/tmp/foo" create => "true", edit_line => maketest; >>>>>> } >>&

Re: readstringlist in 3.1.0

2010-11-10 Thread Mark Burgess
> >>>>>"/tmp/foo" create => "true", edit_line => maketest; >>>>> } >>>>> >>>>> bundle edit_line maketest { >>>>> >>>>> insert_lines: >>>>> >>>>>&quo

Re: readstringlist in 3.1.0

2010-11-10 Thread Michael Potter
>>> } >>>> >>>> bundle edit_line maketest { >>>> >>>> insert_lines: >>>> >>>>    "123"; >>>> #    "qaz"; >>>> } >>>> >>>> bundle agent atest { >&

Re: readstringlist in 3.1.0

2010-11-09 Thread Daniel V. Klein
se",99,); "sum" real => sum("words"); reports: agent:: ">>$(words)"; "sum>>$(sum)"; } On Nov 9, 2010, at 3:22 PM, Michael Potter wrote: &

readstringlist in 3.1.0

2010-11-09 Thread Michael Potter
It seems that readstringlist in 3.1.0 has trouble reading a single word/line from a file. The attached self-enclosed bundle will create a file /tmp/foo with a single word in it. If you run it under 3.0.5, it successfully reads that single word and reports on it. Under 3.1.0, it is not able to