Zeev Fisher wrote:

> I would like that half of my environment will point to ldap server A and
> the other half will point to ldap server B. It actually implemented by
> putting different config file.
> 
> The machine names are lnx1,lnx2 etc
> 
> Do you think of smart way to dynamically define class based on machine
> name ( like hashing ) which will spread the compute farm to 2 groups ?
> 
> Or maybe not based on machine name ?

How about pseudorandom distribution?

Using "strategies" is one way to do this.

http://www.cfengine.org/docs/cfengine-Reference.html#strategies


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

Reply via email to