aboutsummaryrefslogtreecommitdiff
path: root/modules/role/templates
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-27 13:23:13 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-27 13:23:13 +0200
commit320d02a091e0548126c27ca7efd86341b80be4ea (patch)
tree97beae3acaf1c552cf5c19521260e76dedae5913 /modules/role/templates
parentbcc5318b2e938234fcc93f70d6af21367290c1ce (diff)
parent2f3d3a34ab0b3fd31bd84e4c935954740313dbed (diff)
downloadPuppet-320d02a091e0548126c27ca7efd86341b80be4ea.tar.gz
Puppet-320d02a091e0548126c27ca7efd86341b80be4ea.tar.zst
Puppet-320d02a091e0548126c27ca7efd86341b80be4ea.zip
Merge branch 'backup/recovery' into dev
Diffstat (limited to 'modules/role/templates')
-rw-r--r--modules/role/templates/backup/pam_ldap_pgbouncer.conf.erb2
-rw-r--r--modules/role/templates/backup/postgresql.conf.erb9
2 files changed, 9 insertions, 2 deletions
diff --git a/modules/role/templates/backup/pam_ldap_pgbouncer.conf.erb b/modules/role/templates/backup/pam_ldap_pgbouncer.conf.erb
index 12fa9bb..384a418 100644
--- a/modules/role/templates/backup/pam_ldap_pgbouncer.conf.erb
+++ b/modules/role/templates/backup/pam_ldap_pgbouncer.conf.erb
@@ -3,5 +3,5 @@ host <%= @ldap_server %>
3base <%= @ldap_base %> 3base <%= @ldap_base %>
4binddn <%= @ldap_dn %> 4binddn <%= @ldap_dn %>
5bindpw <%= @ldap_password %> 5bindpw <%= @ldap_password %>
6pam_login_attribute <%= @ldap_attribute %> 6pam_login_attribute <%= @pgbouncer_ldap_attribute %>
7pam_filter <%= @ldap_filter %> 7pam_filter <%= @ldap_filter %>
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? -%>
2listen_addresses= '*'
3port = <%= @pg_listen_port %>
4ssl = on
5ssl_key_file = '<%= @ssl_key %>'
6ssl_cert_file = '<%= @ssl_cert %>'
7<%- else -%>
1listen_addresses= '' 8listen_addresses= ''
9<%- end %>
2unix_socket_directories = '<%= @pg_path %>' 10unix_socket_directories = '<%= @pg_path %>'
3data_directory = '<%= @pg_path %>' 11data_directory = '<%= @pg_path %>'
4wal_level = logical 12wal_level = logical
5