[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SelectPartionGroup?
From: |
Sweeney, Tom (MSL - DSAU) |
Subject: |
SelectPartionGroup? |
Date: |
Fri, 27 Jan 2006 19:32:39 -0500 |
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
Tom.Sweeney@hp.com