lib/beaker/hypervisor/aws_sdk.rb
# Provision all hosts on EC2 using the AWS::EC2 API
#
# @return [void]
Provision all hosts on EC2 using the AWS::EC2 API
Provision all hosts on EC2 using the AWS :: EC2 API
def provision
      start_time = Time.now
      launch_all_nodes()
      wait_for_status(:running)
      add_tags()
      populate_dns()
      enable_root_on_hosts()
      set_hostnames()
      configure_hosts()
      @logger.notify("aws-sdk: Provisioning complete in #{Time.now - start_time} seconds")
      nil 
    end
def provision start_time = Time . now launch_all_nodes ( ) wait_for_status ( :running ) add_tags ( ) populate_dns ( ) enable_root_on_hosts ( ) set_hostnames ( ) configure_hosts ( ) @logger . notify ( "aws-sdk: Provisioning complete in #{Time.now - start_time} seconds" ) nil end
Provision all hosts on EC2 using the AWS::EC2 API
Provision all hosts on EC2 using the AWS :: EC2 API
# Perform the main launch work # Wait for each node to reach status :running # Add metadata tags to each instance # Grab the ip addresses and dns from EC2 for each instance to use for ssh #enable root if user is not root # Set the hostname for each box # Configure /etc/hosts on each host #void
None
void