summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Goebel <timo.goebel@dm.de>2015-04-09 10:52:09 +0200
committerTimo Goebel <timo.goebel@dm.de>2015-04-09 10:52:09 +0200
commit0341407287268d0a14ae410fa085d8036251164a (patch)
tree9f706e1103a575293bee017f5f31c19927bc430d
parentdf8554b1eb1163594d93dbb3b6eb63e74d8ce806 (diff)
sort ssl_options
-rw-r--r--templates/troclarc.yaml.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/troclarc.yaml.erb b/templates/troclarc.yaml.erb
index ddadc3a..cd4da3d 100644
--- a/templates/troclarc.yaml.erb
+++ b/templates/troclarc.yaml.erb
@@ -14,7 +14,7 @@ encryption: :<%= @encryption %>
<% end -%>
<% unless @ssl_options.empty? %>
ssl_options:
-<% @ssl_options.each do |key,value| -%>
- :<%= key %>: '<%= value %>'
+<% @ssl_options.keys.sort.each do |key| -%>
+ :<%= key %>: '<%= @ssl_options[key] %>'
<% end -%>
<% end -%>