Skip to content

Commit

Permalink
changing the vars to match basic recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
fagiani committed Jan 21, 2012
1 parent ad6ffd1 commit abd0ab8
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions recipes/rails
Expand Up @@ -14,10 +14,6 @@ function defaults_rails {
R_ENV="production" R_ENV="production"
RUBY_RELEASE="p290" RUBY_RELEASE="p290"
REDIS_VERSION="2.2.4" REDIS_VERSION="2.2.4"
DEPLOY_USER="app"
DEPLOY_PASSWORD="myd3pl0ypwd"
DEPLOY_SSHKEY="ucm081u3c4083muc408312muc40832m1cu40832cmu40mcu41cm018cmu40218m"
NEW_HOSTNAME="appserver"
BLUEPILL_CONFIG="/home/app/production/current/config/bluepill/production.pill" BLUEPILL_CONFIG="/home/app/production/current/config/bluepill/production.pill"
} }


Expand All @@ -34,18 +30,14 @@ function install_rails {
install_redis install_redis
case "$DATABASE_TYPE" in case "$DATABASE_TYPE" in
mysql) mysql)
install_mysql $DATABASE_PASSWORD install_mysql $DATABASE_PASSWORD && tune_mysql 40
tune_mysql 40
;; ;;
pgsql) pgsql)
install_pgsql $DATABASE_PASSWORD install_pgsql $DATABASE_PASSWORD && tune_pgsql 30
tune_pgsql 30
;; ;;
*) *)
install_mysql $DATABASE_PASSWORD install_mysql $DATABASE_PASSWORD && tune_mysql 40
tune_mysql 40 install_postgresql $DATABASE_PASSWORD && tune_postgresql 30
install_postgresql $DATABASE_PASSWORD
tune_postgresql 30
;; ;;
esac esac
} }

0 comments on commit abd0ab8

Please sign in to comment.