<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -24,7 +24,7 @@ require File.join(File.dirname(__FILE__), 'lib', 'deploy', 'wordpress')
 #if you've forked and customized puppet-lamp, enter the git clone url here.
 #it's perfectly fine to bootstrap your server with the stock puppet-lamp 
 #manifests, and then run a puppet:update_from_git to get your customizations
-#set :puppet_git_repo_url, &quot;git@github.com/youruser/puppet-lamp.git&quot;
+#set :puppet_git_repo_url, &quot;git@github.com:you/your-puppet-lamp.git&quot;
 
 #if you need to use a different version of wordpress, specify that here
 #set :wordpress_svn_url, &quot;http://svn.automattic.com/wordpress/tags/2.7&quot;</diff>
      <filename>Capfile</filename>
    </modified>
    <modified>
      <diff>@@ -274,7 +274,18 @@ Capistrano::Configuration.instance.load do
     task :switch_to_git do
       unless (capture(&quot;sudo ls /etc/puppet/.git &gt; /dev/null 2&gt;&amp;1 &amp;&amp; echo 'true' || echo 'false'&quot;).chomp == 'true')
         run &quot;sudo rm -rf /etc/puppet&quot;
-        sudo &quot;git clone #{puppet_git_repo_url} /etc/puppet&quot;
+        run &quot;git clone #{puppet_git_repo_url} /tmp/puppet&quot; do |ch, stream, data|
+          case stream
+          when :out
+            if data =~ /\(yes\/no\)\?/ # first time connecting via ssh, add to known_hosts?
+              puts data
+              ch.send_data &quot;yes\n&quot;
+            else
+              puts data
+            end
+          when :err then warn &quot;[err :: #{ch[:server]}] #{data}&quot;
+          end
+        end
       end
     end
 </diff>
      <filename>lib/deploy/wordpress.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>05cffba49da3e5f78a9b690c348c5322fe0d67f5</id>
    </parent>
  </parents>
  <author>
    <name>Jesse Newland</name>
    <email>jnewland@gmail.com</email>
  </author>
  <url>http://github.com/jestro/wordpress-capistrano/commit/5643fb6c9aac74eee8df993a1010bd8e4a7f4bcc</url>
  <id>5643fb6c9aac74eee8df993a1010bd8e4a7f4bcc</id>
  <committed-date>2008-12-17T16:18:29-08:00</committed-date>
  <authored-date>2008-12-17T16:18:29-08:00</authored-date>
  <message>fix ssh host key prompt</message>
  <tree>557a5623d182e02cd9430660bdb582d0ca500b6a</tree>
  <committer>
    <name>Jesse Newland</name>
    <email>jnewland@gmail.com</email>
  </committer>
</commit>
