summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-02-27 11:57:54 -0800
committerelijah <elijah@riseup.net>2014-02-27 11:57:54 -0800
commitd2b3a5827bfec4e505484e84ece024a768d20cfa (patch)
treeb457b9584877ff6db13b47b7de8d2f6e7a672d94
parent22fe74edaecbf8e9c76e74e7e74ce8a1cb8a629a (diff)
fixed more places where passwords were set to the wrong environment.
-rw-r--r--provider_base/services/mx.json6
-rw-r--r--provider_base/services/webapp.json12
2 files changed, 15 insertions, 3 deletions
diff --git a/provider_base/services/mx.json b/provider_base/services/mx.json
index d57c3168..7e3f20ba 100644
--- a/provider_base/services/mx.json
+++ b/provider_base/services/mx.json
@@ -5,7 +5,11 @@
"haproxy": {
"servers": "= haproxy_servers(nodes_like_me[:services => :couchdb], stunnel.couch_client)"
},
- "couchdb_leap_mx_user": "= global.services[:couchdb].couch.users[:leap_mx]",
+ "couchdb_leap_mx_user": {
+ "username": "= global.services[:couchdb].couch.users[:leap_mx].username",
+ "password": "= secret :couch_leap_mx_password",
+ "salt": "= hex_secret :couch_leap_mx_password_salt, 128"
+ },
"mx_nodes": "= nodes['services' => 'mx']['environment' => '!local'].field('ip_address')",
"x509": {
"use": true,
diff --git a/provider_base/services/webapp.json b/provider_base/services/webapp.json
index 08c7c5b0..8974f851 100644
--- a/provider_base/services/webapp.json
+++ b/provider_base/services/webapp.json
@@ -2,7 +2,11 @@
"webapp": {
"admins": [],
"modules": ["user", "billing", "help"],
- "couchdb_webapp_user": "= global.services[:couchdb].couch.users[:webapp]",
+ "couchdb_webapp_user": {
+ "username": "= global.services[:couchdb].couch.users[:webapp].username",
+ "password": "= secret :couch_webapp_password",
+ "salt": "= hex_secret :couch_webapp_password_salt, 128"
+ },
"customization_dir": "= file_path 'webapp'",
"client_certificates": "= global.provider.ca.client_certificates",
"allow_limited_certs": "= global.provider.service.allow_limited_bandwidth",
@@ -36,7 +40,11 @@
},
"nickserver": {
"domain": "= 'nicknym.' + domain.full_suffix",
- "couchdb_nickserver_user": "= global.services[:couchdb].couch.users[:nickserver]",
+ "couchdb_nickserver_user": {
+ "username": "= global.services[:couchdb].couch.users[:nickserver].username",
+ "password": "= secret :couch_nickserver_password",
+ "salt": "= hex_secret :couch_nickserver_password_salt, 128"
+ },
"port": 6425
},
"dns": {