summaryrefslogtreecommitdiff
path: root/templates/pgsql.conf.erb
blob: 5ffa89c00b016eb73e3b4a6bf990717a1311dc25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<% if vsname %>
vsname = <%= vsname %>
<% end %>
<% if backupdir %>
backupdir = <%= backupdir %>
<% end %>
<% if databases.is_a? String -%>
<%= 'databases = ' + databases %>
<% elsif databases.is_a? Array -%>
<%= "databases = " + databases.map { |i| "#{i}" }.join(" ") %>
<% end -%>
compress = <%= compress ? 'yes' : 'no' %>