]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(MODULES-1738) Don't modify global seed in fqdn_rotate()
authorEli Young <elyscape@gmail.com>
Wed, 28 Jan 2015 23:28:54 +0000 (15:28 -0800)
committerEli Young <elyscape@gmail.com>
Thu, 12 Feb 2015 22:04:47 +0000 (14:04 -0800)
commit84f866ffafbb27a6aa6a1eea92c393a63829e242
tree7e0792a13888ccd15bee9d2da13bebfd79071dd3
parentafc83ea564520378ac507251ddfea46f8d571829
(MODULES-1738) Don't modify global seed in fqdn_rotate()

As per puppetlabs/puppet@292233c, this leaves the global seed in a
deterministic state, which is bad. Puppet::Util.deterministic_rand()
exists to avoid running into this issue, but is only present starting in
Puppet 3.2.0.
lib/puppet/parser/functions/fqdn_rotate.rb
spec/functions/fqdn_rotate_spec.rb