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_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: >> >> Fatal cfengine error: Validation: rhs is a list, but lhs (string) >> is not a list type >> >> You can file a bug report on bug.cfengine.com. >> >> Best, >> -at >> >> >> >> On Fri, Jun 17, 2011 at 10:13 AM,<no-re...@cfengine.com> wrote: >>> Forum: Cfengine Help >>> Subject: long string format >>> Author: sauer >>> Link to topic: https://cfengine.com/forum/read.php?3,22500,22500#msg-22500 >>> >>> Can someone explain the multi-line string format used, for example, in the >>> solution guide? I'm not following why there's a single-element list, a >>> semicolon, and then a really long string afterwards. Here's one example: >>> >>> >>> "atftpd_conf" string => { "5.2" }; >>> " >>> ########################################### >>> >>> ### This file is protected by CFEngine. ### >>> >>> ### Whatever you do, it will be changed ### >>> >>> ### back to a promising state. ### >>> >>> ########################################### >>> >>> >>> >>> ATFTPD_OPTIONS=\"--daemon \" >>> ATFTPD_USE_INETD=\"no\" >>> ATFTPD_DIRECTORY=\"/tftpboot\" >>> ATFTPD_BIND_ADDRESSES=\"\" >>> "; >>> >>> >>> I'd be inclned to just do something like this, I'd think: >>> >>> >>> "atftpd_conf" string => " >>> ########################################### >>> ... >>> "; >>> >>> >>> _______________________________________________ >>> 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 > _______________________________________________ > 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