Issue #15791 has been updated by Peter Meier.

Affected Puppet version set to 3.0.2
Branch set to https://github.com/puppetlabs/puppet/pull/1349

Pull request https://github.com/puppetlabs/puppet/pull/1349

Please also merge it into 3.0.x
----------------------------------------
Bug #15791: a single call to fqdn_rand cause future random data to be 
deterministic
https://projects.puppetlabs.com/issues/15791#change-79482

Author: R.I. Pienaar
Status: Accepted
Priority: High
Assignee: 
Category: 
Target version: 3.x
Affected Puppet version: 3.0.2
Keywords: 
Branch: https://github.com/puppetlabs/puppet/pull/1349


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