I encounter the following problem in Cfengine-2.1.18 when I try
to use HostRange to define groups:

In cfagent.conf I have

groups:
        mygroup = ( HostRange(sa,01-09) host1 host2 )


... and running "cfagent -d -v -q -n" end with:


[ stuff removed ]
==============================BEGIN NEW ACTION Groups:=============


Resetting CLASS to ANY

LVALUE mygroup
HandleLVALUE(mygroup) in action Groups:
EQUALS =
LEFTBRACK
RVAL-FUNCTION HostRange(sa,01-09)
HandleFunctionObject(HostRange(sa,01-09))
IsBuiltinFunction(HostRange(sa,01-09))
IsBuiltinFunction: HostRange(sa,01-09)
HandleFunction: HostRange(sa,01-09)
FunctionStringToCode(HostRange)
ListArg[0]=(sa,01-09)
ListArg[1]=(a,01-09)
Appending [sa]
ListArg[0]=(01-09)
ListArg[1]=(1-09)
ListArg[2]=(-09)
ListArg[3]=(09)
ListArg[4]=(9)
Appending [01-09]
CFDEBUG: [sa]
CFDEBUG: [01-09]
cf:cfengine::/opt/openpkg/var/cfengine/inputs/cfagent.conf:100: Function or format of input file requires 1 argument items
SRDEBUG in HandleHostRange()
SRDEBUG args= value=
SRDEBUG in FuzzyHostParse():
SplitStringAsItemList(,,)
Segmentation fault

Is this a known problem or am I doing something wrong ?

Thanks
--
Christian
_______________________________________________
Help-cfengine mailing list
Help-cfengine@gnu.org
http://lists.gnu.org/mailman/listinfo/help-cfengine

Reply via email to