Closed timogoebel closed 9 years ago
Afair we need to sort on the keys, as sort on a hash on 1.8 doesb't do what you expect it to do.
@duritong : What would you prefer instead?
<% @adapter_options.sort_by {|key, value| key}.each do |key,value| -%>
Or just like @adapter_options.keys.sort.each{|k| @adapter_options[k] }
Thanks, @duritong ! I updated the code. What do you think?
Thanks! Lgtm
... we should sort the hash keys so that the file does not change every single puppet run. :-)