diff options
author | Micah Anderson <micah@leap.se> | 2013-07-29 21:00:21 -0400 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2013-08-01 12:04:47 +0200 |
commit | da191971398827f81ddb0dffd86d4a3c572f6386 (patch) | |
tree | 5b5beff022e3fab5318dbca4cb0677103b6becc0 /puppet | |
parent | c3ee10bfe3a9439897c896e4a1f2f599e664fb33 (diff) |
make site_shorewall::soledad use the hiera value for the soledad port
Change-Id: I923f15de807f907d6246c3a83df1e59c39d4e920
Diffstat (limited to 'puppet')
-rw-r--r-- | puppet/modules/site_shorewall/manifests/soledad.pp | 5 |
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'] } |