FAQ

----- 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.
The bug is that it does:

* 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.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 4 of 7 | next ›
Discussion Overview
grouppuppet-users @
categoriespuppet
postedAug 1, '12 at 4:15p
activeAug 2, '12 at 9:59a
posts7
users5
websitepuppetlabs.com

People

Translate

site design / logo © 2022 Grokbase