Re: Cfengine Help: long string format

2011-06-18 Thread Aleksey Tsalolikhin
On Sat, Jun 18, 2011 at 4:59 AM, Jonathan Clarke wrote: > Mark, I think sauer is referring to this typo in the Solutions Guide, at > http://cfengine.com/manuals/cf3-solutions.html#Set-up-a-PXE-boot-server. > More of a documentation bug than a software bug. Yes, I meant to say it is a bug in the d

Re: Cfengine Help: long string format

2011-06-18 Thread Daniel V. Klein
I agree with Mark, and the error message is pretty much spot-on. -Dan On Jun 18, 2011, at 1:56 AM, Mark Burgess wrote: > > This is not a bug, I think. The problem is you wrote > > "atftpd_conf" string => { "5.2" }; > > You need either > > "atftpd_conf" string => "5.2" ; > > or > > "atftpd

Re: Cfengine Help: long string format

2011-06-18 Thread Daniel V. Klein
I agree with Mark, and the error message is pretty much spot-on. -Dan On Jun 18, 2011, at 1:56 AM, Mark Burgess wrote: > > This is not a bug, I think. The problem is you wrote > > "atftpd_conf" string => { "5.2" }; > > You need either > > "atftpd_conf" string => "5.2" ; > > or > > "atftpd

Re: Cfengine Help: long string format

2011-06-18 Thread Daniel V. Klein
Also note that if you really do want to indent the string, there is a whitespace_policy that might help... -Dan On Jun 18, 2011, at 4:59 AM, Jonathan Clarke wrote: > Mark, I think sauer is referring to this typo in the Solutions Guide, at > http://cfengine.com/manuals/cf3-solutions.html#Set-up-

Cfengine Help: Re: Cfengine Help: Deleting a Local File

2011-06-18 Thread no-reply
Forum: Cfengine Help Subject: Re: Cfengine Help: Deleting a Local File Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,22450,22518#msg-22518 Did you run cf-promises against this to check for errors and warning? neil@ettin ~/.cfagent/inputs $ cf-promises -f ./test.cf commu

Re: Cfengine Help: long string format

2011-06-18 Thread Jonathan Clarke
Mark, I think sauer is referring to this typo in the Solutions Guide, at http://cfengine.com/manuals/cf3-solutions.html#Set-up-a-PXE-boot-server. More of a documentation bug than a software bug. sauer, you can use multi-line strings wherever you use "plain" strings: just adding a line break in a s

Re: Cfengine Help: long string format

2011-06-18 Thread Mark Burgess
This is not a bug, I think. The problem is you wrote "atftpd_conf" string => { "5.2" }; You need either "atftpd_conf" string => "5.2" ; or "atftpd_conf" slist => { "5.2" }; On 18/06/11 07:08, Aleksey Tsalolikhin wrote: > It's a bug. The policy does not pass cf-promises syntax check: > >