Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Increased wait time for SSH is_available?

  • Loading branch information...
commit 52c3bd1cb2d54bffb3c58e08d253a7865adacd1d 1 parent c0c0bdf
@delano delano authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  lib/rudy.rb
  2. +1 −1  lib/rudy/routines/handlers/host.rb
View
2  lib/rudy.rb
@@ -4,7 +4,7 @@
RUDY_LIB = File.join(File.dirname(__FILE__), '..', 'lib')
end
-local_libs = %w{net-ssh net-scp amazon-ec2 aws-s3 caesars drydock rye storable sysinfo annoy gibbler}
+local_libs = %w{net-ssh net-scp aws-s3 caesars drydock rye storable sysinfo annoy gibbler}
local_libs.each { |dir| $:.unshift File.join(RUDY_HOME, '..', dir, 'lib') }
#require 'rubygems'
View
2  lib/rudy/routines/handlers/host.rb
@@ -40,7 +40,7 @@ def is_available?(rset, port=22)
# Windows machines do not have an SSH daemon
unless (self.stash.os || '').to_s == 'win32'
msg = parallel ? nil : "Waiting for SSH on port #{p}..."
- Rudy::Utils.waiter(2, 30, STDOUT, msg, 0) {
+ Rudy::Utils.waiter(2, 60, STDOUT, msg, 0) {
Rudy::Utils.service_available?(self.stash.dns_public, p)
}
end
Please sign in to comment.
Something went wrong with that request. Please try again.