Skip to content

fqdn_rotate: reset srand seed correctly on old ruby versions #460

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2015

Conversation

DavidS
Copy link
Contributor

@DavidS DavidS commented May 26, 2015

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.

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.
tphoney added a commit that referenced this pull request May 26, 2015
fqdn_rotate: reset srand seed correctly on old ruby versions
@tphoney tphoney merged commit 3fafad8 into puppetlabs:master May 26, 2015
@DavidS DavidS deleted the fix-fqdn_rotate-seed branch May 26, 2015 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants