summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--puppet/modules/site_webapp/files/migrate_design_documents4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_webapp/files/migrate_design_documents b/puppet/modules/site_webapp/files/migrate_design_documents
index 4a818950..88eb2e25 100644
--- a/puppet/modules/site_webapp/files/migrate_design_documents
+++ b/puppet/modules/site_webapp/files/migrate_design_documents
@@ -10,7 +10,7 @@ chown leap-webapp:leap-webapp config/couchdb.yml
RAILS_ENV=production /usr/bin/bundle exec rake couchrest:migrate
RAILS_ENV=production /usr/bin/bundle exec rake couchrest:migrate
-# use admin creds for now, until we fixed couchdb user permissions
-cp config/couchdb.yml.admin config/couchdb.yml
+# use user credentials and remove admin credentials
+cp config/couchdb.yml.webapp config/couchdb.yml
chown leap-webapp:leap-webapp config/couchdb.yml