Forgot to mention, this was in Cfengine 2.1.15, but is seems to be missing in 2.1.18 also, and the function itself is still present.
t -----Original Message----- From: Sweeney, Tom (MSL - DSAU) Sent: Friday, January 27, 2006 7:33 PM To: '[email protected]' Subject: SelectPartionGroup? HI All, I tried to use the SelectPartionGroup functionality by adding the following line to my control section in cfagent.conf just_peers = ( SelectPartitionGroup(/var/cfengine/inputs/cfrun.hosts,#,random,4) ) and received this error message: cf:cfengine::/var/cfengine/inputs/cf.main:120: Internal function (selectpartitiongroup) not recognized cfengine::/var/cfengine/inputs/cf.main:Could not parse function When I looked at the BUILTINS array in globals.c I noted: "readlist", "selectpartitionleader", "selectpartitionneighbours", "selectpartitionneighbors", and saw no selectpartitiongroups in there. If I add it, then rerun cfagent after compiling, things seem to work fine for the SelectPartitionsGroup call in cfagent.conf. Was this functionality turned off on purpose? If so, should the function void HandleSelectPGroup(char *args,char *value) be removed from functions.c or at least noted as being deprecated? Or should the call be re-added to the BUILTINS array? Thanks! tom [EMAIL PROTECTED] _______________________________________________ Help-cfengine mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-cfengine
