Move the backup of the pg instance on buxtehude to a more hiera and facter based...
authorPeter Palfrader <peter@palfrader.org>
Sat, 28 Sep 2019 16:23:48 +0000 (18:23 +0200)
committerPeter Palfrader <peter@palfrader.org>
Sat, 28 Sep 2019 16:23:48 +0000 (18:23 +0200)
data/nodes/buxtehude.debian.org.yaml
modules/postgres/manifests/backup_source.pp

index 498ea14..b420bbd 100644 (file)
@@ -1,6 +1,7 @@
 ---
 classes:
   - roles::bugs_master
+  - roles::postgresql::server
 
 apache2::smaller_number_of_threads: true
 # debbugs cgis like to fork and don't deal well with EAGAIN
index b11d634..97fccce 100644 (file)
@@ -17,17 +17,6 @@ class postgres::backup_source {
   ssh::keygen {'postgres': }
 
 
-  if $::hostname in [buxtehude] {
-    postgres::backup_cluster { $::hostname:
-      pg_version => '11',
-      pg_port    => 5433,
-    }
-    postgres::backup_cluster { "${::hostname}-debbugs":
-      pg_version => '11',
-      pg_port    => 5441,
-      pg_cluster => 'debbugs',
-    }
-  }
   if $::hostname in [danzi] {
     postgres::backup_cluster { $::hostname:
       pg_version => '9.6',
@@ -58,7 +47,7 @@ class postgres::backup_source {
     }
   }
 
-  if $::hostname in [godard, buxtehude, danzi, postgresql-manda-01] {
+  if $::hostname in [godard, danzi, postgresql-manda-01] {
     postgres::backup_server::register_backup_clienthost { "backup-clienthost-${::fqdn}}":
     }
   }