summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-10-29 21:57:34 +0100
committervarac <varacanero@zeromail.org>2012-10-29 21:57:34 +0100
commitd235cd5292783722653ff34b35ce28ff31d30935 (patch)
tree9aaafbca53f15c5ce8d024960b9d39ee9e2c0f92 /puppet/modules
parentfa31e200b5cbf4ac9b01a864410d535cbf84420d (diff)
pass ssh_port to shorewall
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_shorewall/manifests/eip.pp8
1 files changed, 5 insertions, 3 deletions
diff --git a/puppet/modules/site_shorewall/manifests/eip.pp b/puppet/modules/site_shorewall/manifests/eip.pp
index 87e1e16f..230752dc 100644
--- a/puppet/modules/site_shorewall/manifests/eip.pp
+++ b/puppet/modules/site_shorewall/manifests/eip.pp
@@ -5,13 +5,15 @@ class site_shorewall::eip {
include site_shorewall::defaults
- $interface = hiera('interface')
+ $interface = hiera('interface')
+ $ssh_config = hiera('ssh')
+ $ssh_port = $ssh_config['port']
# define macro
file { '/etc/shorewall/macro.leap_eip':
- content => 'PARAM - - tcp 53,80,443,1194
+ content => "PARAM - - tcp 53,80,443,1194,$ssh_port
PARAM - - udp 53,80,443,1194
-', }
+", }
# define interfaces