Add blavet → ries projectb postgres forwarding
[mirror/dsa-puppet.git] / modules / portforwarder / misc / config.yaml
index 3f42ecd..4b731e4 100644 (file)
@@ -1,9 +1,66 @@
 --- 
 
+# TODO: if we ever want to forward more than one port between two hosts then
+# we will have to come up with a wrapper script that picks the right target
+# port on the remote instead of just encoding it in authkeys.
+
 # from host:port to host:port
 master.debian.org:
-  - source_bind_port: 5442
+  - source_bind_port: 5441
+    target_host: samosa.debian.org
+    target_port: 5441
+
+samosa.debian.org:
+  - source_bind_port: 5433
+    target_host: grieg.debian.org
+    target_port: 5433
+
+paganini.debian.org:
+  - source_bind_port: 5441
+    target_host: samosa.debian.org
+    target_port: 5441
+
+quantz.debian.org:
+  # qa->projectb mirror
+  - source_bind_port: 5433
+    target_host: ries.debian.org
+    target_port: 5433
+  # qa->udd
+  - source_bind_port: 5441
     target_host: samosa.debian.org
     target_port: 5441
 
+nono.debian.org:
+  # nm->projectb mirror
+  - source_bind_port: 5433
+    target_host: ries.debian.org
+    target_port: 5433
+
+stabile.debian.org:
+  # snapshot postgresql streaming replication.  sibelius is the master, stabile the slave.
+  - source_bind_port: 15433
+    target_host: sibelius.debian.org
+    target_port: 5433
+    ssh_options: -oAddressFamily=inet
+
+franck.debian.org:
+  - source_bind_port: 5443
+    target_host: grieg.debian.org
+    target_port: 5433
+
+ries.debian.org:
+  # dak postgresql streaming replication.  franck is the master, ries the slave.
+  - source_bind_port: 15433
+    target_host: franck.debian.org
+    target_port: 5433
+
+wagner.debian.org:
+  - source_bind_port: 5441
+    target_host: samosa.debian.org
+    target_port: 5441
 
+blavet.debian.org:
+  # emdebian->projectb mirror
+  - source_bind_port: 5433
+    target_host: ries.debian.org
+    target_port: 5433