Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
Add host keys for both git servers
Browse files Browse the repository at this point in the history
  • Loading branch information
viglesiasce committed Aug 23, 2014
1 parent 6fb67ed commit b04774c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions recipes/tester.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
include_recipe "ntp"

bash "Add internal git repo ssh key" do
code <<-EOH
if ! grep git.eucalyptus-systems.com /root/.ssh/known_hosts;then
ssh-keyscan git.eucalyptus-systems.com >> /root/.ssh/known_hosts
fi
EOH
%w{git.qa1.eucalyptus-systems.com git.eucalyptus-systems.com}.each do |host|
bash "Add internal git repo ssh key" do
code <<-EOH
if ! grep #{host} /root/.ssh/known_hosts;then
ssh-keyscan #{host} >> /root/.ssh/known_hosts
fi
EOH
end
end

%w{wget unzip apache-ivy ant-junit ant-trax}.each do |package_name|
Expand Down

0 comments on commit b04774c

Please sign in to comment.