Skip to content

Commit

Permalink
(MAINT) proposed solution to using beaker 4
Browse files Browse the repository at this point in the history
  • Loading branch information
tphoney committed Aug 13, 2018
1 parent bdc285a commit 1af626d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Gemfile
Expand Up @@ -38,11 +38,20 @@ end
group :system_tests do
gem "puppet-module-posix-system-r#{minor_version}", require: false, platforms: [:ruby]
gem "puppet-module-win-system-r#{minor_version}", require: false, platforms: [:mswin, :mingw, :x64_mingw]
gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 3.13')
gem "beaker", *location_for(ENV['BEAKER_VERSION'] || '~> 4.0.0')
gem "beaker-abs", *location_for(ENV['BEAKER_ABS_VERSION'] || '~> 0.1')
gem "beaker-pe", require: false
gem "beaker-pe", :git => 'https://github.com/dakta/beaker-pe.git', :branch => 'BKR-1500'
gem "beaker-puppet"
gem "beaker-hostgenerator"
gem "beaker-rspec"
gem "beaker-aws"
gem "beaker-docker"
gem "beaker-google"
gem "beaker-openstack"
gem "beaker-vagrant"
gem "beaker-vcloud"
gem "beaker-vmpooler"
gem "beaker-vmware"
end

puppet_version = ENV['PUPPET_GEM_VERSION']
Expand Down
3 changes: 3 additions & 0 deletions spec/spec_helper_acceptance.rb
@@ -1,3 +1,5 @@
require 'beaker-pe'
require 'beaker-puppet'
require 'beaker-rspec'
require 'beaker/puppet_install_helper'
require 'beaker/module_install_helper'
Expand All @@ -7,6 +9,7 @@
install_bolt_on(hosts) unless pe_install?
install_module_on(hosts)
install_module_dependencies_on(hosts)
configure_type_defaults_on(hosts)

UNSUPPORTED_PLATFORMS = ['RedHat', 'Suse', 'windows', 'AIX', 'Solaris'].freeze
MAX_RETRY_COUNT = 12
Expand Down

0 comments on commit 1af626d

Please sign in to comment.