Greetings!

Please review the pull request #34: (#8814) Update fqdn_rand for ruby 1.9.2 rand bug. opened by Nan Liu (nanliu)

Some more information about the pull request:

  • Opened: Fri Aug 12 03:22:55 UTC 2011
  • Based on: puppetlabs:master (44719fcf9f9053a7be1bea59d516f24d2234ede4)
  • Requested merge: nanliu:ticket/2.7.x/8814 (d3c747b3c22be2592267071075facaaad498a82b)

Description:

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.

Thanks!
The Pull Request Bot

--
You received this message because you are subscribed to the Google Groups "Puppet Developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to [email protected].
For more options, visit this group at http://groups.google.com/group/puppet-dev?hl=en.

Reply via email to