add danzi/debconf pg cluster as backup source
authorJulien Cristau <jcristau@debian.org>
Sun, 1 Oct 2017 18:07:27 +0000 (20:07 +0200)
committerJulien Cristau <jcristau@debian.org>
Sun, 1 Oct 2017 18:07:27 +0000 (20:07 +0200)
modules/postgres/manifests/backup_source.pp

index 835d214..0c9407b 100644 (file)
@@ -36,8 +36,15 @@ class postgres::backup_source {
                        pg_cluster => 'debbugs',
                }
        }
+       if $::hostname in [danzi] {
+               postgres::backup_cluster { "${::hostname}-debconf":
+                       pg_version => '9.6',
+                       pg_port => 5434,
+                       pg_cluster => 'debconf',
+               }
+       }
 
-       if $::hostname in [melartin, vittoria, godard, buxtehude] {
+       if $::hostname in [melartin, vittoria, godard, buxtehude, danzi] {
                postgres::backup_server::register_backup_clienthost { "backup-clienthost-${::fqdn}}":
                }
        }