diff options
author | Micah Anderson <micah@leap.se> | 2013-11-28 09:54:37 -0500 |
---|---|---|
committer | Micah Anderson <micah@leap.se> | 2013-11-28 09:54:37 -0500 |
commit | 7f59d8c7f5a41125c17271b1cd55118dafa52151 (patch) | |
tree | 4bcc9cf137cfbc6bf1e98f44787a3fe5c01be224 /puppet/modules/site_webapp/files | |
parent | bf563b722126c0e6ae1d8f2f830be03e006664a1 (diff) |
remove admin access from webapp
Change-Id: Ib2ce0d38a8e4dd30ae6842bfb5579d9c3dd10f18
Diffstat (limited to 'puppet/modules/site_webapp/files')
-rw-r--r-- | puppet/modules/site_webapp/files/migrate_design_documents | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/puppet/modules/site_webapp/files/migrate_design_documents b/puppet/modules/site_webapp/files/migrate_design_documents deleted file mode 100644 index 6e24aa5b..00000000 --- a/puppet/modules/site_webapp/files/migrate_design_documents +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -cd /srv/leap/webapp - -# use admin credentials -cp config/couchdb.yml.admin config/couchdb.yml -chown leap-webapp:leap-webapp config/couchdb.yml - -# needs to be run twice -RAILS_ENV=production /usr/bin/bundle exec rake couchrest:migrate -RAILS_ENV=production /usr/bin/bundle exec rake couchrest:migrate - -# use user credentials and remove admin credentials -cp config/couchdb.yml.webapp config/couchdb.yml -chown leap-webapp:leap-webapp config/couchdb.yml - |