<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>lib/capistrano/ext/ubuntu-machine/templates/my.cnf.erb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,4 @@
 .DS_Store
 config
-*.gem
\ No newline at end of file
+*.gem
+examples/*
\ No newline at end of file</diff>
      <filename>.gitignore</filename>
    </modified>
    <modified>
      <diff>@@ -48,8 +48,16 @@ namespace :mysql do
   desc &quot;Install MySQL&quot;
   task :install, :roles =&gt; :db do
     db_root_password = Capistrano::CLI.ui.ask(&quot;Choose a MySQL root password : &quot;)
+
+    # set a default dummy password for the root user so the installer do not ask interactively for a password
+    put render(&quot;my.cnf&quot;, binding), &quot;.my.cnf&quot;
+    sudo &quot;mv .my.cnf /root&quot;
+    
     sudo &quot;aptitude install -y mysql-server mysql-client libmysqlclient15-dev&quot;
     run &quot;mysqladmin -u root password #{db_root_password}&quot;
+    
+    # remove the dummy password
+    sudo &quot;rm /root/.my.cnf&quot;
   end
   
   desc &quot;Ask for a MySQL user and change his password&quot;</diff>
      <filename>lib/capistrano/ext/ubuntu-machine/mysql.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 Gem::Specification.new do |s|
   s.name     = &quot;ubuntu-machine&quot;
-  s.version  = &quot;0.4.0&quot;
-  s.date     = &quot;2009-02-06&quot;
+  s.version  = &quot;0.4.1&quot;
+  s.date     = &quot;2009-02-26&quot;
   s.summary  = &quot;Capistrano recipes for setting up and deploying to a Ubuntu Machine&quot;
   s.email    = &quot;thomas@suitmymind.com&quot;
   s.homepage = &quot;http://suitmymind.github.com/ubuntu-machine&quot;</diff>
      <filename>ubuntu-machine.gemspec</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>57daf2bb7d5ba6237752bf43d17ed4436d5cd81c</id>
    </parent>
  </parents>
  <author>
    <name>Thomas Balthazar</name>
    <email>thomas@suitmymind.com</email>
  </author>
  <url>http://github.com/suitmymind/ubuntu-machine/commit/a0eb036b56a3a95e58e669944920767d08912097</url>
  <id>a0eb036b56a3a95e58e669944920767d08912097</id>
  <committed-date>2009-02-26T08:05:11-08:00</committed-date>
  <authored-date>2009-02-26T08:05:11-08:00</authored-date>
  <message>* bypass interactive screen for mysql root password during mysql install</message>
  <tree>b55b7aeccbb8ae5c443f2802627655eca64fe070</tree>
  <committer>
    <name>Thomas Balthazar</name>
    <email>thomas@suitmymind.com</email>
  </committer>
</commit>
