diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-06-27 13:23:13 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-06-27 13:23:13 +0200 |
commit | 320d02a091e0548126c27ca7efd86341b80be4ea (patch) | |
tree | 97beae3acaf1c552cf5c19521260e76dedae5913 /modules/role/templates/backup/postgresql.conf.erb | |
parent | bcc5318b2e938234fcc93f70d6af21367290c1ce (diff) | |
parent | 2f3d3a34ab0b3fd31bd84e4c935954740313dbed (diff) | |
download | Puppet-320d02a091e0548126c27ca7efd86341b80be4ea.tar.gz Puppet-320d02a091e0548126c27ca7efd86341b80be4ea.tar.zst Puppet-320d02a091e0548126c27ca7efd86341b80be4ea.zip |
Merge branch 'backup/recovery' into dev
Diffstat (limited to 'modules/role/templates/backup/postgresql.conf.erb')
-rw-r--r-- | modules/role/templates/backup/postgresql.conf.erb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/modules/role/templates/backup/postgresql.conf.erb b/modules/role/templates/backup/postgresql.conf.erb index 860089b..8741507 100644 --- a/modules/role/templates/backup/postgresql.conf.erb +++ b/modules/role/templates/backup/postgresql.conf.erb | |||
@@ -1,5 +1,12 @@ | |||
1 | <%- if !@pg_listen_port.nil? -%> | ||
2 | listen_addresses= '*' | ||
3 | port = <%= @pg_listen_port %> | ||
4 | ssl = on | ||
5 | ssl_key_file = '<%= @ssl_key %>' | ||
6 | ssl_cert_file = '<%= @ssl_cert %>' | ||
7 | <%- else -%> | ||
1 | listen_addresses= '' | 8 | listen_addresses= '' |
9 | <%- end %> | ||
2 | unix_socket_directories = '<%= @pg_path %>' | 10 | unix_socket_directories = '<%= @pg_path %>' |
3 | data_directory = '<%= @pg_path %>' | 11 | data_directory = '<%= @pg_path %>' |
4 | wal_level = logical | 12 | wal_level = logical |
5 | |||