diff options
author | Nan Liu <nan@puppetlabs.com> | 2011-08-11 22:18:48 -0500 |
---|---|---|
committer | Nan Liu <nan@puppetlabs.com> | 2011-08-11 22:18:48 -0500 |
commit | d3c747b3c22be2592267071075facaaad498a82b (patch) | |
tree | 4767765495986536d5e1b65b92ed4c1aedf934a7 /test/util/autoload.rb | |
parent | c833fde370d43023f52c8f2e11fd77e720d0f577 (diff) | |
download | puppet-d3c747b3c22be2592267071075facaaad498a82b.tar.gz puppet-d3c747b3c22be2592267071075facaaad498a82b.tar.xz puppet-d3c747b3c22be2592267071075facaaad498a82b.zip |
(#8814) Update fqdn_rand for ruby 1.9.2 rand bug.
Ruby 1.9.2 does not accept a string for rand function, so rand('1')
fails even though this works in Ruby 1.8.x and the string is implicitly
converted to a number. We added to_i to avoid this bug.
Diffstat (limited to 'test/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions