diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-06-27 13:10:32 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-06-27 13:12:14 +0200 |
commit | 2f3d3a34ab0b3fd31bd84e4c935954740313dbed (patch) | |
tree | 97beae3acaf1c552cf5c19521260e76dedae5913 /modules/role/templates/backup | |
parent | cc278743bffea94197755c0d114389f5fd69596a (diff) | |
download | Puppet-2f3d3a34ab0b3fd31bd84e4c935954740313dbed.tar.gz Puppet-2f3d3a34ab0b3fd31bd84e4c935954740313dbed.tar.zst Puppet-2f3d3a34ab0b3fd31bd84e4c935954740313dbed.zip |
Add ssl certificate for postgresql connection
Diffstat (limited to 'modules/role/templates/backup')
-rw-r--r-- | modules/role/templates/backup/postgresql.conf.erb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/role/templates/backup/postgresql.conf.erb b/modules/role/templates/backup/postgresql.conf.erb index c4d223e..8741507 100644 --- a/modules/role/templates/backup/postgresql.conf.erb +++ b/modules/role/templates/backup/postgresql.conf.erb | |||
@@ -2,6 +2,8 @@ | |||
2 | listen_addresses= '*' | 2 | listen_addresses= '*' |
3 | port = <%= @pg_listen_port %> | 3 | port = <%= @pg_listen_port %> |
4 | ssl = on | 4 | ssl = on |
5 | ssl_key_file = '<%= @ssl_key %>' | ||
6 | ssl_cert_file = '<%= @ssl_cert %>' | ||
5 | <%- else -%> | 7 | <%- else -%> |
6 | listen_addresses= '' | 8 | listen_addresses= '' |
7 | <%- end %> | 9 | <%- end %> |