Forum: Cfengine Help Subject: Re: Random Selection from an Array/List Author: neilhwatson Link to topic: https://cfengine.com/forum/read.php?3,19981,19983#msg-19983
The policy host is a list so your clients will connect to one or go to the next list item if that connection fails. Perhaps you don't need any random selection. You can also increase the splaytime to help with load balancing. If you still want go the random route that look into the 'dist' classes tool http://www.cfengine.org/manuals/cf3-reference.html#dist-in-classes _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine