switch buxtehude to more puppetized pg backups
[mirror/dsa-puppet.git] / modules / postgres / manifests / backup_source.pp
index eec6405..835d214 100644 (file)
@@ -25,8 +25,19 @@ class postgres::backup_source {
                        pg_version => '9.6',
                }
        }
+       if $::hostname in [buxtehude] {
+               postgres::backup_cluster { $::hostname:
+                       pg_version => '9.6',
+                       pg_port => 5433,
+               }
+               postgres::backup_cluster { "${::hostname}-debbugs":
+                       pg_version => '9.6',
+                       pg_port => 5441,
+                       pg_cluster => 'debbugs',
+               }
+       }
 
-       if $::hostname in [melartin, vittoria, godard] {
+       if $::hostname in [melartin, vittoria, godard, buxtehude] {
                postgres::backup_server::register_backup_clienthost { "backup-clienthost-${::fqdn}}":
                }
        }