summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--provider_base/common.json3
-rw-r--r--provider_base/services/webapp.json2
2 files changed, 3 insertions, 2 deletions
diff --git a/provider_base/common.json b/provider_base/common.json
index 12b9dab6..6d4291c6 100644
--- a/provider_base/common.json
+++ b/provider_base/common.json
@@ -22,5 +22,6 @@
"cert": "= x509.use ? file(:node_x509_cert, :missing => 'x509 certificate for node $node. Run `leap update-cert`') : nil",
"key": "= x509.use ? file(:node_x509_key, :missing => 'x509 key for node $node. Run `leap update-cert`') : nil",
"ca_cert": "= try_file :ca_cert"
- }
+ },
+ "local": false
}
diff --git a/provider_base/services/webapp.json b/provider_base/services/webapp.json
index 321c26ea..afb51ee1 100644
--- a/provider_base/services/webapp.json
+++ b/provider_base/services/webapp.json
@@ -1,7 +1,7 @@
{
"webapp": {
"modules": ["user", "billing", "help"],
- "couchdb_hosts": "= nodes[:services => :couchdb].field('domain.name')",
+ "couchdb_hosts": "= nodes[:services => :couchdb][:local => local].field('domain.name')",
"couchdb_user": "= global.services[:couchdb].couch.users[:webapp]"
},
"definition_files": {