Sha256: a6ba4cb8c2923300e62e5d7768ca5b952a3f1e3b59cb8bbd5208a9d5028d3cfe

Contents?: true

Size: 509 Bytes

Versions: 6

Compression:

Stored size: 509 Bytes

Contents

# PostgreSQL configuration file
# This file was automatically generated and dropped off by chef!
# Please refer to the PostgreSQL documentation for details on
# configuration settings.

<% node['postgresql']['config'].sort.each do |key, value| %>
<% next if value.nil? -%>
<% next if node['postgresql']['version'].to_f < 9.2 && /ssl_.*._file/.match(key) -%>
<%= key %> = <%=
  case value
  when String
    "'#{value}'"
  when TrueClass
    'on'
  when FalseClass
    'off'
  else
    value
  end
%>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
from-scratch-0.7.0 cookbooks/postgresql/templates/default/postgresql.conf.erb
from-scratch-0.6.0 cookbooks/postgresql/templates/default/postgresql.conf.erb
from-scratch-0.5.0 cookbooks/postgresql/templates/default/postgresql.conf.erb
from-scratch-0.3.0 cookbooks/postgresql/templates/default/postgresql.conf.erb
from-scratch-0.2.0 cookbooks/postgresql/templates/default/postgresql.conf.erb
from-scratch-0.1.1 cookbooks/postgresql/templates/default/postgresql.conf.erb