]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Add replication slot for cryptoportfolio postgresql
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 22 Apr 2018 19:48:22 +0000 (21:48 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 22 Apr 2018 19:48:22 +0000 (21:48 +0200)
modules/role/manifests/cryptoportfolio/postgresql.pp

index 38661a8c5837b8a42201d27eafefcf3b7ad8b70a..5db5e25abfac988de45101c97fc97299bb3d579c 100644 (file)
@@ -30,6 +30,10 @@ class role::cryptoportfolio::postgresql inherits role::cryptoportfolio {
     require => [Letsencrypt::Certonly[$web_host], File["/var/lib/postgres/data/certs"]]
   }
 
+  postgresql_replication_slot { $pg_user_replication:
+    ensure => present
+  }
+
   postgresql::server::config_entry { "wal_level":
     value   => "logical",
   }