<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -76,23 +76,9 @@ wget --timeout=10 --waitretry=1 http://github.com/mmond/configuration-automation
 wget --timeout=10 --waitretry=1 http://github.com/mmond/configuration-automation/tree/master%2Feldorado.database.yml.txt?raw=true -O config/database.yml
 wget --timeout=10 --waitretry=1 http://github.com/mmond/configuration-automation/tree/master%2Fspin?raw=true -O script/spin
 #	Use Capistrano to configure directory structure, Eldorado and servers
-cap deploy:setup deploy:update 
-
-#	Make second remote ssh connection for database configuration.  
-ssh root@$TARGET_SERVER.slicehost.com '
-cd /var/www/el-dorado/current		
-#	Configure SQLite
-rake db:create 
-rake db:schema:load 
-#	Configure MySQL
-rake db:create RAILS_ENV=production
-rake db:schema:load RAILS_ENV=production
-rake db:migrate RAILS_ENV=production
+cap deploy:setup deploy:update rake:db_create_sqlite rake:db_schema_load_sqlite rake:db_create rake:db_schema_load rake:db_migrate deploy:start
 '
 
-#	Start the servers
-cap deploy:start
-
 
 
 </diff>
      <filename>configure_ubuntu_eldorado.sh</filename>
    </modified>
    <modified>
      <diff>@@ -50,4 +50,26 @@ namespace :deploy do
       run &quot;ln -nfs #{shared_path}/system/#{share} #{release_path}/public/#{share}&quot;
     end
   end
+end
+
+namespace :rake do
+  desc &quot;Show the available rake tasks.&quot;
+  task :show_tasks do
+    run(&quot;cd #{deploy_to}/current; /usr/bin/rake -T&quot;)
+  end
+  task :db_create_sqlite do
+    run(&quot;cd #{deploy_to}/current; /usr/bin/rake db:create&quot;)
+  end
+  task :db_schema_load_sqlite do
+    run(&quot;cd #{deploy_to}/current; /usr/bin/rake db:schema:load&quot;)
+  end
+  task :db_create do
+    run(&quot;cd #{deploy_to}/current; /usr/bin/rake db:create RAILS_ENV=production&quot;)
+  end
+  task :db_schema_load do
+    run(&quot;cd #{deploy_to}/current; /usr/bin/rake db:schema:load RAILS_ENV=production&quot;)
+  end
+  task :db_migrate do
+    run(&quot;cd #{deploy_to}/current; /usr/bin/rake db:migrate RAILS_ENV=production&quot;)
+  end
 end
\ No newline at end of file</diff>
      <filename>eldorado.deploy.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c0d9d29f5a9555ac4fb4d2b2bcb0e9a489bc8dcd</id>
    </parent>
  </parents>
  <author>
    <name>mark</name>
    <email>mmond@io.com</email>
  </author>
  <url>http://github.com/mmond/configuration-automation/commit/763dae98b13458e482378f3e35c17d485049bf3a</url>
  <id>763dae98b13458e482378f3e35c17d485049bf3a</id>
  <committed-date>2008-10-19T12:54:44-07:00</committed-date>
  <authored-date>2008-10-19T12:54:44-07:00</authored-date>
  <message>Consolidate tasks and connects via Capistrano</message>
  <tree>18276b8f7f5a00ad32082234e0be6e565fc990b9</tree>
  <committer>
    <name>mark</name>
    <email>mmond@io.com</email>
  </committer>
</commit>
