You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 10:56:22 UTC

svn commit: r1132188 - in /incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2: approve-master-key hypertable/Capfile setup setup-slave

Author: benh
Date: Sun Jun  5 08:56:22 2011
New Revision: 1132188

URL: http://svn.apache.org/viewvc?rev=1132188&view=rev
Log:
Added StrictHostKeyChecking=no to Hypertable Capfile rsync commands

Removed:
    incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/approve-master-key
Modified:
    incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/hypertable/Capfile
    incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/setup
    incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/setup-slave

Modified: incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/hypertable/Capfile
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/hypertable/Capfile?rev=1132188&r1=1132187&r2=1132188&view=diff
==============================================================================
--- incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/hypertable/Capfile (original)
+++ incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/hypertable/Capfile Sun Jun  5 08:56:22 2011
@@ -71,7 +71,7 @@ set :config_option, \
     (default=#{install_dir})
  DESC
 task :copy_config, :roles => :localhost do
-  run("rsync #{config} #{install_dir}/#{hypertable_version}/conf/")
+  run("rsync -e \"ssh -o StrictHostKeyChecking=no\" #{config} #{install_dir}/#{hypertable_version}/conf/")
 end
 
  desc <<-DESC
@@ -82,8 +82,8 @@ end
  DESC
 task :rsync, :roles => :install do
   run <<-CMD
-     rsync -av --exclude=log --exclude=run --exclude=demo --exclude=fs --exclude=hyperspace/ #{source_machine}:#{install_dir}/#{hypertable_version} #{install_dir} &&
-     rsync -av --exclude=log --exclude=run --exclude=demo --exclude=fs --exclude=hyperspace/ #{source_machine}:#{install_dir}/#{hypertable_version}/conf/ #{install_dir}/#{hypertable_version}/conf
+     rsync -av -e "ssh -o StrictHostKeyChecking=no" --exclude=log --exclude=run --exclude=demo --exclude=fs --exclude=hyperspace/ #{source_machine}:#{install_dir}/#{hypertable_version} #{install_dir} &&
+     rsync -av -e "ssh -o StrictHostKeyChecking=no" --exclude=log --exclude=run --exclude=demo --exclude=fs --exclude=hyperspace/ #{source_machine}:#{install_dir}/#{hypertable_version}/conf/ #{install_dir}/#{hypertable_version}/conf
   CMD
 end
 

Modified: incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/setup
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/setup?rev=1132188&r1=1132187&r2=1132188&view=diff
==============================================================================
--- incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/setup (original)
+++ incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/setup Sun Jun  5 08:56:22 2011
@@ -31,8 +31,7 @@ else
 fi
 
 # Scripts that get used for/while running Mesos.
-SCRIPTS="approve-master-key
-         copy-dir
+SCRIPTS="copy-dir
          mesos-daemon
          redeploy-mesos
          setup-slave              

Modified: incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/setup-slave
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/setup-slave?rev=1132188&r1=1132187&r2=1132188&view=diff
==============================================================================
--- incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/setup-slave (original)
+++ incubator/mesos/trunk/ec2/deploy.centos64/root/mesos-ec2/setup-slave Sun Jun  5 08:56:22 2011
@@ -75,6 +75,3 @@ fi
 # Remove ~/.ssh/known_hosts because it gets polluted as you start/stop many
 # clusters (new machines tend to come up under old hostnames)
 rm -f /root/.ssh/known_hosts
-
-# SSH to the master to approve its key (needed for Capistrano to work)
-./approve-master-key