summaryrefslogtreecommitdiffstats
path: root/lib/puppet/rails/rails_resource.rb
diff options
context:
space:
mode:
authorNan Liu <nan@puppetlabs.com>2011-08-11 22:18:48 -0500
committerNan Liu <nan@puppetlabs.com>2011-08-11 22:18:48 -0500
commitd3c747b3c22be2592267071075facaaad498a82b (patch)
tree4767765495986536d5e1b65b92ed4c1aedf934a7 /lib/puppet/rails/rails_resource.rb
parentc833fde370d43023f52c8f2e11fd77e720d0f577 (diff)
downloadpuppet-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 'lib/puppet/rails/rails_resource.rb')
0 files changed, 0 insertions, 0 deletions