Title: bugs in HostRange() function?

Hi,

 Im 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 cant 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...

      Loading environment...

      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.

--Guolin

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

Reply via email to