diff --git a/Gemfile b/Gemfile index 8d476a8220..6b6a22b110 100644 --- a/Gemfile +++ b/Gemfile @@ -16,9 +16,7 @@ gem 'jira-ruby', :group => :development group :test do gem 'rspec' gem 'beaker', *location_for(ENV['BEAKER_VERSION'] || '~> 2.14.0') - if ENV['GEM_SOURCE'] =~ /rubygems\.delivery\.puppetlabs\.net/ - gem 'sqa-utils', '0.13.3' - end + gem "beaker-hostgenerator", *location_for(ENV['BEAKER_HOSTGENERATOR_VERSION'] || "~> 0.2") gem 'httparty' gem 'uuidtools' end diff --git a/acceptance/README.md b/acceptance/README.md index 1a4cdcc318..a7ad253ade 100644 --- a/acceptance/README.md +++ b/acceptance/README.md @@ -34,14 +34,15 @@ Copy/modify the local RHEL-7 host config at basic 2-node configuration. Please note, the most recent host configurations can be generated with the -`genconfig` command available from the `sqa-utils` gem. Generating a new host -configuration takes the form of `bundle exec genconfig redhat7-64ma` +`beaker-hostgenerator` command available from the `beaker-hostgenerator` gem. +Generating a new host configuration takes the form of `bundle exec +beaker-hostgenerator redhat7-64ma` The host expression is a bit strange and is parsed as per the documentation at -`bundle exec genconfig --help`. See also [the -source][genconfig]. +`bundle exec beaker-hostgenerator --help`. See also [the +source][beaker-hostgenerator]. -[genconfig]: https://github.com/puppetlabs/sqa-utils-gem/blob/76d8dbc/lib/genconfig/cli.rb#L20-L47 +[beaker-hostgenerator]: https://github.com/puppetlabs/beaker-hostgenerator #### Define the PACKAGE_BUILD_VERSION and PUPPET_VERSION environment variables diff --git a/acceptance/scripts/generic/testrun.sh b/acceptance/scripts/generic/testrun.sh index 15994a6111..42dd33218a 100755 --- a/acceptance/scripts/generic/testrun.sh +++ b/acceptance/scripts/generic/testrun.sh @@ -14,7 +14,7 @@ export BEAKER_HELPER="acceptance/lib/helper.rb" bundle install --path vendor/bundle -bundle exec genconfig2 $GENCONFIG_LAYOUT > $BEAKER_CONFIG +bundle exec beaker-hostgenerator $GENCONFIG_LAYOUT > $BEAKER_CONFIG bundle exec beaker \ --config $BEAKER_CONFIG \