aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mga_buildsystem/manifests/mainnode.pp
diff options
context:
space:
mode:
Diffstat (limited to 'deployment/mga_buildsystem/manifests/mainnode.pp')
-rw-r--r--deployment/mga_buildsystem/manifests/mainnode.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/deployment/mga_buildsystem/manifests/mainnode.pp b/deployment/mga_buildsystem/manifests/mainnode.pp
index a744f22a..3b2f35ee 100644
--- a/deployment/mga_buildsystem/manifests/mainnode.pp
+++ b/deployment/mga_buildsystem/manifests/mainnode.pp
@@ -5,4 +5,18 @@ class mga_buildsystem::mainnode {
include buildsystem::maintdb
include buildsystem::binrepo
include buildsystem::repoctl
+
+ # Forward ports to arm1 and arm2 ssh, to access them from outside
+ xinetd::port_forward {"forward_arm1":
+ $target_ip => 'arm1.mageia.org',
+ $target_port => '22',
+ $port => '4251',
+ $proto => 'tcp',
+ }
+ xinetd::port_forward {"forward_arm2":
+ $target_ip => 'arm2.mageia.org',
+ $target_port => '22',
+ $port => '4252',
+ $proto => 'tcp',
+ }
}