summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-03-19 15:11:54 +0100
committerMicah Anderson <micah@riseup.net>2013-04-02 10:21:05 -0400
commit4b2aa1020d07d0ab25f907fbc6c76a3d78a6a84e (patch)
treee01ece70470658ac51c1da216b8b63f69e9c1970
parentcc082541980df1062cb5b2d10f4980cf8b6664c9 (diff)
shorewall couchdb config: get open ports right
-rw-r--r--puppet/modules/site_shorewall/manifests/couchdb.pp20
1 files changed, 10 insertions, 10 deletions
diff --git a/puppet/modules/site_shorewall/manifests/couchdb.pp b/puppet/modules/site_shorewall/manifests/couchdb.pp
index 5fa1861b..f1784a38 100644
--- a/puppet/modules/site_shorewall/manifests/couchdb.pp
+++ b/puppet/modules/site_shorewall/manifests/couchdb.pp
@@ -9,7 +9,7 @@ class site_shorewall::couchdb {
# define macro for incoming services
file { '/etc/shorewall/macro.leap_couchdb':
- content => "PARAM - - tcp $couchdb_port $portmapper_port",
+ content => "PARAM - - tcp ${couchdb_port},${portmapper_port}",
notify => Service['shorewall'],
require => Package['shorewall']
}
@@ -23,15 +23,15 @@ class site_shorewall::couchdb {
order => 200;
}
- shorewall::rule {
- 'dnat-bigcouch-clustering-to-stunnel':
- destination => "net:${::ipaddress}:8080",
- destinationport => $portmapper_port,
- source => '$FW',
- proto => 'tcp',
- order => 200,
- action => 'DNAT';
- }
+ #shorewall::rule {
+ # 'dnat-bigcouch-clustering-to-stunnel':
+ # destination => "net:${::ipaddress}:8080",
+ # destinationport => $portmapper_port,
+ # source => '$FW',
+ # proto => 'tcp',
+ # order => 200,
+ # action => 'DNAT';
+ #}
}