Skip to content

Instantly share code, notes, and snippets.

@kbarber
Created October 7, 2014 01:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kbarber/97f45eba0f922497901a to your computer and use it in GitHub Desktop.
Save kbarber/97f45eba0f922497901a to your computer and use it in GitHub Desktop.
[ken@kb puppetdb]# cat Gemfile
source ENV['GEM_SOURCE'] || "https://rubygems.org"
gem 'facter'
case RUBY_VERSION
when '1.8.7'
gem 'rake', '<= 10.1.1'
else
gem 'rake'
end
group :test do
# Pinning to work-around an incompatiblity with 2.14 in puppetlabs_spec_helper
gem 'rspec', '2.13.0'
gem 'puppetlabs_spec_helper', '0.4.1', :require => false
gem 'puppet', '>= 3.4.2', :require => false
gem 'mocha', '~> 1.0'
# Since newer versions of rake are not supported, we pin
case RUBY_VERSION
when '1.8.7'
# No activerecord or sqlite for you
else
gem 'activerecord', '2.3.14'
gem 'sqlite3'
end
end
group :acceptance do
gem 'beaker', '~> 1.11'
end
ruby-2.0.0-p481@puppetdb (git)-[pdb-882-perf-testing]
[ken@kb puppetdb]# beaker --hosts acceptance/config/ec2-west-debian6-64mda-64a.cfg
{
"project": "Beaker",
"department": "ken",
"validate": true,
"jenkins_build_url": null,
"forge_host": "vulcan-acceptance.delivery.puppetlabs.net",
"log_level": "verbose",
"trace_limit": 10,
"master-start-curl-retries": 120,
"options_file": null,
"type": "pe",
"provision": true,
"preserve_hosts": "never",
"root_keys": false,
"quiet": false,
"project_root": "/Users/ken/.rvm/gems/ruby-2.0.0-p481@puppetdb/gems/beaker-1.17.5/lib/beaker",
"xml_dir": "junit",
"xml_file": "beaker_junit.xml",
"xml_stylesheet": "junit.xsl",
"log_dir": "log",
"color": true,
"dry_run": false,
"timeout": 300,
"fail_mode": "slow",
"timesync": false,
"repo_proxy": false,
"package_proxy": false,
"add_el_extras": false,
"release_apt_repo_url": "http://apt.puppetlabs.com",
"release_yum_repo_url": "http://yum.puppetlabs.com",
"dev_builds_url": "http://builds.puppetlabs.lan",
"consoleport": 443,
"pe_dir": "/opt/enterprise/dists",
"pe_version_file": "LATEST",
"pe_version_file_win": "LATEST-win",
"answers": {
"q_puppet_enterpriseconsole_auth_user_email": "admin@example.com",
"q_puppet_enterpriseconsole_auth_password": "~!@#$%^*-/ aZ",
"q_puppet_enterpriseconsole_smtp_port": 25,
"q_puppet_enterpriseconsole_smtp_use_tls": "n",
"q_verify_packages": "y",
"q_puppetdb_password": "~!@#$%^*-/ aZ"
},
"dot_fog": "/Users/ken/.fog",
"ec2_yaml": "config/image_templates/ec2.yaml",
"help": false,
"collect_perf_data": false,
"ssh": {
"config": false,
"paranoid": false,
"timeout": 300,
"auth_methods": [
"publickey"
],
"port": 22,
"forward_agent": true,
"keys": [
"/Users/ken/.ssh/id_rsa"
],
"user_known_hosts_file": "/Users/ken/.ssh/known_hosts"
},
"hosts_file": "acceptance/config/ec2-west-debian6-64mda-64a.cfg",
"command_line": "/Users/ken/.rvm/gems/ruby-2.0.0-p481@puppetdb/bin/beaker --hosts acceptance/config/ec2-west-debian6-64mda-64a.cfg",
"HOSTS": {
"debian6-64-1": {
"roles": [
"master",
"database",
"dashboard",
"agent",
"default"
],
"vmname": "debian6-amd64-west",
"platform": "debian-6-amd64",
"amisize": "c1.medium",
"hypervisor": "ec2",
"snapshot": "foss"
},
"debian6-64-2": {
"roles": [
"agent"
],
"vmname": "debian6-amd64-west",
"platform": "debian-6-amd64",
"amisize": "c1.medium",
"hypervisor": "ec2",
"snapshot": "foss"
}
},
"nfs_server": "none",
"home": "/Users/ken",
"helper": [],
"load_path": [],
"tests": [],
"pre_suite": [],
"post_suite": [],
"install": [],
"modules": [],
"logger": "#<Beaker::Logger:0x00000103090138>",
"timestamp": "2014-10-07 02:04:39 +0100"
}
Hypervisor for debian6-64-1 is ec2
Hypervisor for debian6-64-2 is ec2
Beaker::Hypervisor, found some ec2 boxes to create
aws-sdk: Iterate across all hosts in configuration and launch them
aws-sdk: Checking image ami-4eea627e exists and getting its root device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment