diff options
author | Timo Goebel <mail@timogoebel.name> | 2015-03-01 19:13:57 +0100 |
---|---|---|
committer | Timo Goebel <mail@timogoebel.name> | 2015-03-01 19:13:57 +0100 |
commit | 91d91c253b792b5a176159e083eb1a3f301a7e86 (patch) | |
tree | 235015eff65a2fe7c7c6dcb34d22ff57804548c7 /templates | |
parent | 3fd6a9a73afb99da97a123afd3041adc05debc55 (diff) |
add support for encryption and ssl_options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/troclarc.yaml.erb | 9 |
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 -%> |