Permalink
Browse files

Fixed ssl params fail on 9.1 version

  • Loading branch information...
1 parent 3ebd4bb commit 604904d386e55e08f9df60c6f0032a1a28ec56b6 @NOX73 NOX73 committed Feb 18, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 templates/default/postgresql.conf.standard.erb
@@ -81,8 +81,10 @@ ssl = <%= node["postgresql"]["ssl"] %> # (change requires restart)
#ssl_ciphers = '<%= node["postgresql"]["ssl_ciphers"] %>' # allowed SSL ciphers
# (change requires restart)
#ssl_renegotiation_limit = <%= node["postgresql"]["ssl_renegotiation_limit"] %> # amount of data between renegotiations
+<% if node["postgresql"]["version"].to_f > 9.1 %>
ssl_cert_file = '<%= node["postgresql"]["ssl_cert_file"] %>' # (change requires restart)
ssl_key_file = '<%= node["postgresql"]["ssl_key_file"] %>' # (change requires restart)
+<% end %>
#password_encryption = <%= node["postgresql"]["password_encryption"] %>
#db_user_namespace = <%= node["postgresql"]["db_user_namespace"] %>

0 comments on commit 604904d

Please sign in to comment.