mirror of
https://github.com/puppetlabs/vmpooler-provider-ec2.git
synced 2026-01-26 10:28:41 -05:00
use jruby 9.3.6
This commit is contained in:
parent
a974045a62
commit
c6f7991aac
5 changed files with 10 additions and 14 deletions
|
|
@ -18,11 +18,11 @@ module Vmpooler
|
|||
|
||||
def setup_node_by_ssh(host, platform)
|
||||
conn = check_ssh_accepting_connections(host, platform)
|
||||
if conn
|
||||
@logger.log('s', "[>] [#{platform}] '#{@vm_name}' net:ssh connected")
|
||||
configure_host(host, platform, conn)
|
||||
@logger.log('s', "[>] [#{platform}] '#{@vm_name}' configured")
|
||||
end
|
||||
return unless conn
|
||||
|
||||
@logger.log('s', "[>] [#{platform}] '#{@vm_name}' net:ssh connected")
|
||||
configure_host(host, platform, conn)
|
||||
@logger.log('s', "[>] [#{platform}] '#{@vm_name}' configured")
|
||||
end
|
||||
|
||||
# For an Amazon Linux AMI, the user name is ec2-user.
|
||||
|
|
@ -68,7 +68,6 @@ module Vmpooler
|
|||
rescue StandardError => e
|
||||
@logger.log('s', "[>] [#{platform}] '#{@vm_name}' net:ssh other error, skipping aws_setup: #{e}")
|
||||
puts e.backtrace
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -254,8 +254,6 @@ module Vmpooler
|
|||
@logger.log('s', "[>] [#{pool_name}] '#{new_vmname}' instance running")
|
||||
### System status checks
|
||||
# This check verifies that your instance is reachable. Amazon EC2 tests that network packets can get to your instance.
|
||||
# If this check fails, there might be an issue with the infrastructure that is hosting your instance (such as AWS power, networking, or software systems). You can restart or replace the instance, wait for Amazon EC2’s systems to resolve the issue, or seek technical support.
|
||||
# This check does not validate that your operating system and applications are accepting traffic.
|
||||
### Instance status checks
|
||||
# This check verifies that your instance's operating system is accepting traffic.
|
||||
connection.client.wait_until(:instance_status_ok, { instance_ids: [instance_id] })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue