Skip to content

Commit b13df2a

Browse files
committed
Merge pull request #842 from puppetlabs/revert-838-revert-836-beaker-hostgenerator/2.1.x
(QENG-3181) Use beaker-hostgenerator instead of sqa-utils
2 parents 0c81673 + 443992e commit b13df2a

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

Gemfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ gem 'jira-ruby', :group => :development
1616
group :test do
1717
gem 'rspec'
1818
gem 'beaker', *location_for(ENV['BEAKER_VERSION'] || '~> 2.14.0')
19-
if ENV['GEM_SOURCE'] =~ /rubygems\.delivery\.puppetlabs\.net/
20-
gem 'sqa-utils', '0.13.3'
21-
end
19+
gem "beaker-hostgenerator", *location_for(ENV['BEAKER_HOSTGENERATOR_VERSION'] || "~> 0.2")
2220
gem 'httparty'
2321
gem 'uuidtools'
2422
end

acceptance/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,15 @@ Copy/modify the local RHEL-7 host config at
3434
basic 2-node configuration.
3535

3636
Please note, the most recent host configurations can be generated with the
37-
`genconfig` command available from the `sqa-utils` gem. Generating a new host
38-
configuration takes the form of `bundle exec genconfig redhat7-64ma`
37+
`beaker-hostgenerator` command available from the `beaker-hostgenerator` gem.
38+
Generating a new host configuration takes the form of `bundle exec
39+
beaker-hostgenerator redhat7-64ma`
3940

4041
The host expression is a bit strange and is parsed as per the documentation at
41-
`bundle exec genconfig --help`. See also [the
42-
source][genconfig].
42+
`bundle exec beaker-hostgenerator --help`. See also [the
43+
source][beaker-hostgenerator].
4344

44-
[genconfig]: https://github.com/puppetlabs/sqa-utils-gem/blob/76d8dbc/lib/genconfig/cli.rb#L20-L47
45+
[beaker-hostgenerator]: https://github.com/puppetlabs/beaker-hostgenerator
4546

4647
#### Define the PACKAGE_BUILD_VERSION and PUPPET_VERSION environment variables
4748

acceptance/scripts/generic/testrun.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export BEAKER_HELPER="acceptance/lib/helper.rb"
1414

1515
bundle install --path vendor/bundle
1616

17-
bundle exec genconfig2 $GENCONFIG_LAYOUT > $BEAKER_CONFIG
17+
bundle exec beaker-hostgenerator $GENCONFIG_LAYOUT > $BEAKER_CONFIG
1818

1919
bundle exec beaker \
2020
--config $BEAKER_CONFIG \

0 commit comments

Comments
 (0)