help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HostRange bug in 2.1.18 ?


From: Christian Korschan
Subject: HostRange bug in 2.1.18 ?
Date: Tue, 17 Jan 2006 20:17:46 +0100
User-agent: Thunderbird 1.5 (X11/20051201)

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]