aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-22 21:48:22 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-22 21:48:22 +0200
commitacd2cd43b6fff9bcd2c7804767f838684c3cfd1e (patch)
tree61d32d184a35f1e9ef2a29acb04f7b5b5cb7b9a0 /modules
parent0958ccf39a52491adb43a08545351df2bf5a4abd (diff)
downloadPuppet-acd2cd43b6fff9bcd2c7804767f838684c3cfd1e.tar.gz
Puppet-acd2cd43b6fff9bcd2c7804767f838684c3cfd1e.tar.zst
Puppet-acd2cd43b6fff9bcd2c7804767f838684c3cfd1e.zip
Add replication slot for cryptoportfolio postgresql
Diffstat (limited to 'modules')
-rw-r--r--modules/role/manifests/cryptoportfolio/postgresql.pp4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/role/manifests/cryptoportfolio/postgresql.pp b/modules/role/manifests/cryptoportfolio/postgresql.pp
index 38661a8..5db5e25 100644
--- a/modules/role/manifests/cryptoportfolio/postgresql.pp
+++ b/modules/role/manifests/cryptoportfolio/postgresql.pp
@@ -30,6 +30,10 @@ class role::cryptoportfolio::postgresql inherits role::cryptoportfolio {
30 require => [Letsencrypt::Certonly[$web_host], File["/var/lib/postgres/data/certs"]] 30 require => [Letsencrypt::Certonly[$web_host], File["/var/lib/postgres/data/certs"]]
31 } 31 }
32 32
33 postgresql_replication_slot { $pg_user_replication:
34 ensure => present
35 }
36
33 postgresql::server::config_entry { "wal_level": 37 postgresql::server::config_entry { "wal_level":
34 value => "logical", 38 value => "logical",
35 } 39 }