|Subject:||bugs in HostRange() function?|
|Date:||Mon, 16 Jan 2006 15:13:24 -0800|
I’m testing IPRange and HostRange functions, but seems the first one works great even for dual-homed machines, but the latter still seems failed. My cfengine version is 2.1.17.
Cfagent reports syntax error for HostRange() function, but from the reference manual I can’t see any mismatch in my config.
My configure is:
HelloIPHosts = ( IPRange( 10.100.7.210-220 ) )
HelloAliasIPHosts = ( IPRange( 192.168.240.210-220 ) )
HelloHostMachines = ( HostRange(hello,1-10) )
The output is:
Looking for environment from cfenvd...
Environment data loaded
Looking for an input file /var/lib/cfengine2/inputs/cfagent.conf
Looking for an input file cf.groups
cf:cfengine::/var/lib/cfengine2/inputs/cf.groups:43: Function or format of input file requires 1 argument items
cf:cfengine::/var/lib/cfengine2/inputs/cf.groups:43: HostRange() syntax error: not enough args (expecting two)
Looking for an input file cf.main
Any suggestions? Thanks.
|[Prev in Thread]||Current Thread||[Next in Thread]|