Skip to content

Commit

Permalink
emit config hash in sorted order so generated file doesn't change ran…
Browse files Browse the repository at this point in the history
…domly between runs
  • Loading branch information
Sam Gerstein committed Nov 27, 2012
1 parent 7788340 commit f8716d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/postgresql.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Please refer to the PostgreSQL documentation for details on
# configuration settings.

<% node['postgresql']['config'].each do |key, value| %>
<% node['postgresql']['config'].sort.each do |key, value| %>
<% next if value.nil? -%>
<%= key %> = <%=
case value
Expand Down

0 comments on commit f8716d6

Please sign in to comment.