Gabriel,
I don't know about the specific implementation of join_keys_to_values,
but ruby's hash behavior changed between the 1.8 series and 1.9 and
later[1]. In ruby 1.8 hashes are enumerated in a seemingly unsorted
manner, while in ruby 1.9 and later hashes are enumerated in insertion
order. If you are on ruby 1.8, it would be worth seeing if you
experience the same issues in ruby 1.9 or later.
[1] -
http://stackoverflow.com/questions/7065915/why-is-my-hash-autosorting-itself
--
Matthaus Owens
Release Manager, Puppet Labs
Join us at PuppetConf 2014, September 23-24 in San Francisco -
http://bit.ly/pupconf14
Register now and save $350!