Move the backup of the pg instance on danzi to a more hiera and facter based setup
[mirror/dsa-puppet.git] / modules / postgres / manifests / backup_source.pp
index c46d3b2..3b1e058 100644 (file)
@@ -17,29 +17,7 @@ class postgres::backup_source {
   ssh::keygen {'postgres': }
 
 
-  if $::hostname in [danzi] {
-    postgres::backup_cluster { $::hostname:
-      pg_version => '9.6',
-      pg_port    => 5433,
-    }
-    postgres::backup_cluster { "${::hostname}-tracker":
-      pg_version => '9.6',
-      pg_port    => 5432,
-      pg_cluster => 'tracker',
-    }
-    postgres::backup_cluster { "${::hostname}-debconf":
-      pg_version => '9.6',
-      pg_port    => 5434,
-      pg_cluster => 'debconf',
-    }
-    postgres::backup_cluster { "${::hostname}-wannabuild":
-      pg_version => '9.6',
-      pg_port    => 5436,
-      pg_cluster => 'wannabuild',
-    }
-  }
-
-  if $::hostname in [godard, danzi] {
+  if $::hostname in [godard] {
     postgres::backup_server::register_backup_clienthost { "backup-clienthost-${::fqdn}}":
     }
   }