Hacker News new | ask | show | jobs
by InsidiousWombat 32 days ago
Our configuration management system(Puppet) has function for that, fqdn_rand

give it number and you will get random value up to that number, same every run for a given host, but different per host (basically, hashed host fqdn)

add a label and you will get different number but similarly consistent. Makes it real easy to randomize run across the fleet.

Would be easy script to make.

Also systemd timers have the randomization builtin, just need to specify time

    RandomizedDelaySec=12h