summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_shorewall/manifests/soledad.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/puppet/modules/site_shorewall/manifests/soledad.pp b/puppet/modules/site_shorewall/manifests/soledad.pp
index f3272c04..518d8689 100644
--- a/puppet/modules/site_shorewall/manifests/soledad.pp
+++ b/puppet/modules/site_shorewall/manifests/soledad.pp
@@ -1,10 +1,13 @@
class site_shorewall::soledad {
+ $soledad = hiera('soledad')
+ $soledad_port = $soledad['port']
+
include site_shorewall::defaults
# define macro for incoming services
file { '/etc/shorewall/macro.leap_soledad':
- content => 'PARAM - - tcp 2424',
+ content => "PARAM - - tcp ${soledad_port}",
notify => Service['shorewall'],
require => Package['shorewall']
}