Sha256: 3d9593e309a8292d97f8cb8f8afc98cfe024a83f2d0d447f98905eba0b39e540

Contents?: true

Size: 1.98 KB

Versions: 3

Compression:

Stored size: 1.98 KB

Contents

$:.unshift File.join(File.dirname(__FILE__), '..', '..', 'lib')

require 'rhoconnect/version'

module Constants
  RC_VERSION      = Rhoconnect::VERSION
  REGION          = 'us-west-1'
  SLEEP           = 60
  HOME_DIR        = `echo ~/`.strip.chomp("/")
  REMOTE_HOME     = '/home/ubuntu'
  PEM_FILE        = 'jenkinskey.pem'
  SSH_KEY         = "#{HOME_DIR}/.ssh/#{PEM_FILE}"
  ACCESS_KEY_FILE = "#{HOME_DIR}/.ec2"
  UBUNTU_STACK    = { :image_id  => 'ami-02d7f547', # jenkins-ubuntu-12.04-test-image
                      :tags => {'Name' => 'Ubuntu-12.04'},
                      :flavor_id => 'c1.xlarge',
                      :key_name  => 'jenkinskey',
                      :groups    => 'load-test',
                      :user      => 'ubuntu'}
  CENTOS5_STACK   = { :image_id  => 'ami-1a7d4d5f', # jenkins-centos-5.9-test-image
                      :tags => {'Name' => 'CentOS-5.9'},
                      :flavor_id => 'c1.xlarge',
                      :key_name  => 'jenkinskey',
                      :groups    => 'load-test',
                      :user      => 'root'}
  CENTOS6_STACK   = { :image_id  => 'ami-02ae8c47', # jenkins-centos-6.3-test-image
                      :tags => {'Name' => 'CentOS-6.3'},
                      :flavor_id => 'c1.xlarge',
                      :key_name  => 'jenkinskey',
                      :groups    => 'load-test',
                      :user      => 'root'}
  STACKS          = [ UBUNTU_STACK, CENTOS5_STACK, CENTOS6_STACK ]
  STACK_SIZE      = STACKS.size
  DEB_DEPS        = [ "build-essential",
                      "zlib1g-dev",
                      "libssl-dev",
                      "libcurl4-openssl-dev",
                      "libreadline5-dev",
                      "libsqlite3-0",
                      "libsqlite3-dev" ]
  RPM_DEPS        = [ "gcc-c++",
                      "zlib-devel",
                      "curl-devel",
                      "pcre-devel",
                      "openssl-devel",
                      "readline-devel" ]
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rhoconnect-4.0.4 installer/utils/constants.rb
rhoconnect-4.0.3 installer/utils/constants.rb
rhoconnect-4.0.2 installer/utils/constants.rb