diff options
author | elijah <elijah@riseup.net> | 2012-11-04 13:14:03 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-11-04 13:14:03 -0800 |
commit | 809cb70a4d9e7b9840f20732ccb632c02d3f969c (patch) | |
tree | 8105fba5c7f2b38384ee1396c55a3bacc5984a6f /provider/services | |
parent | 8968c6e02641ccd60a3bec4c4b680061e5d4b77f (diff) |
added couchdb users
Diffstat (limited to 'provider/services')
-rw-r--r-- | provider/services/couchdb.json | 23 | ||||
-rw-r--r-- | provider/services/webapp.json | 3 |
2 files changed, 17 insertions, 9 deletions
diff --git a/provider/services/couchdb.json b/provider/services/couchdb.json index d0fe97f..1c8005c 100644 --- a/provider/services/couchdb.json +++ b/provider/services/couchdb.json @@ -3,13 +3,20 @@ "x509": { "use": true }, - "couchdb_adminpw": "mahz2Oow", - "couchdb_leap_web_user": { - "user": "leap_web", - "pw": "chue3auN" - }, - "couchdb_leap_ca_user": { - "user": "leap_ca", - "pw": "Eibe2rae" + "couch": { + "users": { + "admin": { + "username": "admin", + "password": "= secret :couch_admin_password" + }, + "webapp": { + "username": "webapp", + "password": "= secret :couch_webapp_password" + }, + "ca_daemon": { + "username": "ca_daemon", + "password": "= secret :couch_ca_daemon_password" + } + } } } diff --git a/provider/services/webapp.json b/provider/services/webapp.json index 0e5b2f9..a997dc1 100644 --- a/provider/services/webapp.json +++ b/provider/services/webapp.json @@ -1,7 +1,8 @@ { "webapp": { "modules": ["user", "billing", "help"], - "couchdb_hosts": "= nodes[:services => :couchdb].field('domain.name')" + "couchdb_hosts": "= nodes[:services => :couchdb].field('domain.name')", + "couchdb_user": "= global.services[:couchdb].couch.users[:webapp]" }, "definition_files": { "provider": "= file('service-definitions/provider.json.erb')", |