help-cfengine
[Top][All Lists]
Advanced

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

Re: SelectPartionGroup?


From: Mark Burgess
Subject: Re: SelectPartionGroup?
Date: Sun, 29 Jan 2006 09:18:22 +0100

This was renamed "neighbours" rather than "group", but the documentation
does not seem to have been updated. The word group might be confused
with "classes/groups" so I called it neighbours. I shall patch the
documentation.

On Fri, 2006-01-27 at 19:32 -0500, Sweeney, Tom (MSL - DSAU) wrote:
> 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
> 
>       address@hidden
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-cfengine





reply via email to

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