diff options
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')", |