27 lines
636 B
Plaintext
27 lines
636 B
Plaintext
# PostgreSQL configuration file
|
|
# This file was automatically generated and dropped off by chef!
|
|
# Please refer to the PostgreSQL documentation for details on
|
|
# configuration settings.
|
|
|
|
data_directory = '<%= @data_dir %>'
|
|
hba_file = '<%= @hba_file %>'
|
|
ident_file = '<%= @ident_file %>'
|
|
external_pid_file = '<%= @external_pid_file %>'
|
|
stats_temp_directory = '<%= @stats_temp_directory %>'
|
|
port = <%= @port %>
|
|
<% @additional_config.sort.each do |key, value| %>
|
|
<% next if value.nil? -%>
|
|
<%= key %> = <%=
|
|
case value
|
|
when String
|
|
"'#{value}'"
|
|
when TrueClass
|
|
'on'
|
|
when FalseClass
|
|
'off'
|
|
else
|
|
value
|
|
end
|
|
%>
|
|
<% end %>
|