Issue #15791 has been updated by Peter Meier.

Priority changed from Normal to High

In my opinion this should be a high priority issue, as people definitely do not 
expect that all future Kernel.rand calls are deterministic after using 
fqdn_rand.
----------------------------------------
Bug #15791: a single call to fqdn_rand cause future random data to be 
deterministic
https://projects.puppetlabs.com/issues/15791#change-79481

Author: R.I. Pienaar
Status: Accepted
Priority: High
Assignee: 
Category: 
Target version: 3.x
Affected Puppet version: 
Keywords: 
Branch: 


The fqdn_rand function sets a random seed based on the hostname of the current 
node in order to get a consistant random number between compiles.

Unfortunately it does not reset the seed which means all further calls to 
rand() will also become deterministic between runs.

See the puppet users thread 
https://groups.google.com/forum/?fromgroups#!topic/puppet-users/kc_KJwLwHvo for 
a possible patch and context


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to