summaryrefslogtreecommitdiff
path: root/templates/troclarc.yaml.erb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2015-03-21 15:48:17 +0100
committermh <mh@immerda.ch>2015-03-21 15:48:17 +0100
commit4fa6296ee22da4397ff0d81948e35c47e8eef9e1 (patch)
tree99a7afa93cf533cfb89c83eb9de541f171487567 /templates/troclarc.yaml.erb
parentcc243b354e51a55b704469b92fb1f5a26555d663 (diff)
parent47befc3a972b0745a87381cad4b280529a0514f2 (diff)
Merge remote-tracking branch 'github/master'
Diffstat (limited to 'templates/troclarc.yaml.erb')
-rw-r--r--templates/troclarc.yaml.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/troclarc.yaml.erb b/templates/troclarc.yaml.erb
index d574cd9..7d4fa27 100644
--- a/templates/troclarc.yaml.erb
+++ b/templates/troclarc.yaml.erb
@@ -9,3 +9,12 @@ adapter_options:
:<%= key %>: '<%= value %>'
<% end -%>
<% end -%>
+<% if @encryption %>
+encryption: :<%= @encryption %>
+<% end -%>
+<% unless @ssl_options.empty? %>
+ssl_options:
+<% @ssl_options.each do |key,value| -%>
+ :<%= key %>: '<%= value %>'
+<% end -%>
+<% end -%>