help-cfengine
[Top][All Lists]
Advanced

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

RE: SelectPartionGroup?


From: Sweeney, Tom (MSL - DSAU)
Subject: RE: SelectPartionGroup?
Date: Fri, 27 Jan 2006 19:36:58 -0500

 
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: 'help-cfengine@gnu.org'
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

        Tom.Sweeney@hp.com




reply via email to

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