summaryrefslogtreecommitdiff
path: root/puppet/modules/site_shorewall/manifests/couchdb
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-03-20 22:02:55 +0100
committerMicah Anderson <micah@riseup.net>2013-04-02 10:21:06 -0400
commit40f32a207957293dd7c9a85df3bcccd340e16522 (patch)
treef6e27502c78c6fe623a7cca01a9a115c3cef510d /puppet/modules/site_shorewall/manifests/couchdb
parentfbcc9e9a93816374e1b53b561df4b9d2a59ae7b8 (diff)
added site_shorewall::couchdb::bigcouch
bigcouch cluster protocol communicate via the fqdn of the neighbor hosts. So we need to bend all requests to <fqdn>:4369 to localhost:400x (which is the entry of an stunnel connection to the other neighbor)
Diffstat (limited to 'puppet/modules/site_shorewall/manifests/couchdb')
-rw-r--r--puppet/modules/site_shorewall/manifests/couchdb/bigcouch.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/modules/site_shorewall/manifests/couchdb/bigcouch.pp b/puppet/modules/site_shorewall/manifests/couchdb/bigcouch.pp
new file mode 100644
index 00000000..f96ef87b
--- /dev/null
+++ b/puppet/modules/site_shorewall/manifests/couchdb/bigcouch.pp
@@ -0,0 +1,7 @@
+class site_shorewall::couchdb::bigcouch inherits site_shorewall::couchdb {
+
+ include site_shorewall::defaults
+
+ create_resources(site_shorewall::dnat, hiera('shorewall_dnat'))
+
+}