diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-05-20 08:26:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-05-20 08:26:12 +0000 |
commit | afb5daa63c291139bbbc9469c083a51339d291cc (patch) | |
tree | 005c5bccf6377f593592fa3e4cfe41bd5f7bf4f8 /manifests | |
parent | 27861b1559b86c162eae83fd4aa7b605580bb6b2 (diff) | |
download | puppet-afb5daa63c291139bbbc9469c083a51339d291cc.tar puppet-afb5daa63c291139bbbc9469c083a51339d291cc.tar.gz puppet-afb5daa63c291139bbbc9469c083a51339d291cc.tar.bz2 puppet-afb5daa63c291139bbbc9469c083a51339d291cc.tar.xz puppet-afb5daa63c291139bbbc9469c083a51339d291cc.zip |
Forward ssh port for arm1 and arm2 from alamut instead of valstar
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/nodes/alamut.pp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/manifests/nodes/alamut.pp b/manifests/nodes/alamut.pp index ba7b54f7..344a3206 100644 --- a/manifests/nodes/alamut.pp +++ b/manifests/nodes/alamut.pp @@ -120,4 +120,18 @@ node alamut { vhost => 'treasurer.mageia.org', vhostdir => '/var/www/vhosts/treasurer.mageia.org', } + + # 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', + } } |