aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mga_buildsystem/manifests/mainnode.pp
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2012-09-04 16:09:16 +0000
committerNicolas Vigier <boklm@mageia.org>2012-09-04 16:09:16 +0000
commit4cd9ccc50ee414fa413a23e7f8db89eb06129871 (patch)
tree6bea4a8db2ae59a141120c75509f20921b25dacc /deployment/mga_buildsystem/manifests/mainnode.pp
parenta7097c4f99018928bc397071717bab3139c94571 (diff)
downloadpuppet-4cd9ccc50ee414fa413a23e7f8db89eb06129871.tar
puppet-4cd9ccc50ee414fa413a23e7f8db89eb06129871.tar.gz
puppet-4cd9ccc50ee414fa413a23e7f8db89eb06129871.tar.bz2
puppet-4cd9ccc50ee414fa413a23e7f8db89eb06129871.tar.xz
puppet-4cd9ccc50ee414fa413a23e7f8db89eb06129871.zip
Forward ports to arm1 and arm2 ssh, to access them from outside
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',
+ }
}