aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/files/postgresql
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-28 12:17:40 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-06-28 12:17:40 +0200
commit0a145a25c0a8cbcd50d515d2a828bd6665836ddb (patch)
treec6e3832098d19917b0ba0bcbe119103c632c7d29 /modules/profile/files/postgresql
parentf1d583bfdaf881116e5f9ca9e050307e7acdc28e (diff)
parent3925777d9715d271c0643faef9f520e7816dba89 (diff)
downloadPuppet-0a145a25c0a8cbcd50d515d2a828bd6665836ddb.tar.gz
Puppet-0a145a25c0a8cbcd50d515d2a828bd6665836ddb.tar.zst
Puppet-0a145a25c0a8cbcd50d515d2a828bd6665836ddb.zip
Merge branch 'refactoring' into dev
Diffstat (limited to 'modules/profile/files/postgresql')
-rw-r--r--modules/profile/files/postgresql/pam_pgbouncer3
-rw-r--r--modules/profile/files/postgresql/pam_postgresql3
-rw-r--r--modules/profile/files/postgresql/pgbouncer_head.ini15
3 files changed, 21 insertions, 0 deletions
diff --git a/modules/profile/files/postgresql/pam_pgbouncer b/modules/profile/files/postgresql/pam_pgbouncer
new file mode 100644
index 0000000..13f0d3d
--- /dev/null
+++ b/modules/profile/files/postgresql/pam_pgbouncer
@@ -0,0 +1,3 @@
1auth required pam_ldap.so config=/etc/pam_ldap.d/pgbouncer.conf
2account required pam_ldap.so config=/etc/pam_ldap.d/pgbouncer.conf
3
diff --git a/modules/profile/files/postgresql/pam_postgresql b/modules/profile/files/postgresql/pam_postgresql
new file mode 100644
index 0000000..70a90ae
--- /dev/null
+++ b/modules/profile/files/postgresql/pam_postgresql
@@ -0,0 +1,3 @@
1auth required pam_ldap.so config=/etc/pam_ldap.d/postgresql.conf
2account required pam_ldap.so config=/etc/pam_ldap.d/postgresql.conf
3
diff --git a/modules/profile/files/postgresql/pgbouncer_head.ini b/modules/profile/files/postgresql/pgbouncer_head.ini
new file mode 100644
index 0000000..3ba8728
--- /dev/null
+++ b/modules/profile/files/postgresql/pgbouncer_head.ini
@@ -0,0 +1,15 @@
1[pgbouncer]
2
3listen_addr = 0.0.0.0
4listen_port = 5432
5
6unix_socket_dir = /run/postgresql
7unix_socket_mode = 0777
8
9auth_type = pam
10
11admin_users = postgres
12max_client_conn = 100
13default_pool_size = 20
14
15[databases]