Forum: Cfengine Help Subject: Re: randomint issue Author: Seva Gluschenko Link to topic: https://cfengine.com/forum/read.php?3,17846,17850#msg-17850
As for me, the randomint works perfectly well (used in production to spread snapshot requests through a pool of servers). Regarding your example, it evaluates your variable only once. Perhaps, you meant "int[$(indices)]" int => randomint(0, 100); I'm not sure it'll work, though. _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine