diff options
author | David Schmitt <david.schmitt@puppetlabs.com> | 2015-05-12 15:01:55 +0100 |
---|---|---|
committer | David Schmitt <david.schmitt@puppetlabs.com> | 2015-05-26 14:25:43 +0100 |
commit | 0dc0e0dbcf9574ed1515cf6cfe2800f06d8c1d0e (patch) | |
tree | 6ea424514044c11258623f26cb380d38d51c8816 /lib/puppet/parser/functions/chop.rb | |
parent | 6cf64f1028cbb290a6254b5e753072f65c9336fa (diff) | |
download | puppet-stdlib-0dc0e0dbcf9574ed1515cf6cfe2800f06d8c1d0e.tar.gz puppet-stdlib-0dc0e0dbcf9574ed1515cf6cfe2800f06d8c1d0e.tar.bz2 |
fqdn_rotate: reset srand seed correctly on old ruby versions
Without this, the global seed is reseeded on every use
of fqdn_rotate, which is a waste. Older rubies might even use a
time-base seed which adversly impacts the quality of the RNG.
Diffstat (limited to 'lib/puppet/parser/functions/chop.rb')
0 files changed, 0 insertions, 0 deletions