----- Original Message -----
From: "Eric Shamow" <eric@puppetlabs.com>
To: puppet-users@googlegroups.com
Sent: Wednesday, August 1, 2012 10:48:26 AM
Subject: Re: [Puppet Users] rand losing its randomness after using fqdn_rand
Not sure that this should be considered a bug in fqdn_rand - the idea
with fqdn_rand is that it should generate the same random number
each time it is run in order to maintain idempotency.
From: "Eric Shamow" <eric@puppetlabs.com>
To: puppet-users@googlegroups.com
Sent: Wednesday, August 1, 2012 10:48:26 AM
Subject: Re: [Puppet Users] rand losing its randomness after using fqdn_rand
Not sure that this should be considered a bug in fqdn_rand - the idea
with fqdn_rand is that it should generate the same random number
each time it is run in order to maintain idempotency.
* set salt to cause consistant random numbers
* get random data
I think it should do:
* set salt to cause consistant random numbers
* get random data
* reset salt to produce random data
This will retain the behaviour of fqdn_rand and not break random for everyone else
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.