Permalink
Browse files

Make mysql_admin setting actually take when set by a user recipe.

Signed-off-by: pinguskahn <pinguskahn@gmail.com>
  • Loading branch information...
1 parent f8b52f4 commit 0a8dfb04a6e48e89b3e4bec5efc8d1f4fe2e6fcc @seancribbs seancribbs committed with pinguskahn Jan 31, 2009
Showing with 3 additions and 2 deletions.
  1. +3 −0 lib/railsmachine/recipes.rb
  2. +0 −2 lib/railsmachine/recipes/db/mysql.rb
@@ -42,6 +42,9 @@
set :apache_ssl_ip, nil
set :apache_ssl_forward_all, false
+ # mysql defaults
+ set :mysql_admin, nil
+
set :repository do
scm = fetch(:scm)
repos_base = "#{user}@#{domain}#{deploy_to}"
@@ -24,8 +24,6 @@ def handle_mysql_password(user, channel, stream, data)
Capistrano::Configuration.instance(:must_exist).load do
- set :mysql_admin, nil
-
namespace :db do
desc "Execute MySQL statements using --execute option. Set the 'sql' variable."

0 comments on commit 0a8dfb0

Please sign in to comment.