beaker-puppet 1.18.10 → 1.18.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 600a484d31491c1354755368c9b6c4d11b768b43
4
- data.tar.gz: 3d0ba3759fa31b80503525631c72b4d448ee6cd2
2
+ SHA256:
3
+ metadata.gz: baf2e711b2baa65068adaad74a00e31ba48fda17408fe11b599eba9960eaa6b6
4
+ data.tar.gz: 766db6ed9e94b73e30ad1d8ef1bb318e95ad6ec6f06f77ca5c199ddb3e673681
5
5
  SHA512:
6
- metadata.gz: 8c53ffd39f19b2730b9a7c13500ac4eff0ecd74e3c2734c8e9a113036727a73ad666e87588d5f20c58a0d542979d1a9744467ab04ac6556aff9c4dd6ecd6bd0c
7
- data.tar.gz: a411079df93027571a3db98af0bd6a07c7da58098714e36e09a117e90a74043335902f4b0c522544a38c6287b9c52483745c7c3052f1a638ac5d8e158dfef8ce
6
+ metadata.gz: c4c0a3dea1c5f7e9b2b6fdc23ce7683f32aef43c067b422989a1f7584b18a1782c14f13007ce73243027da886a2f7b3b656a758ac2cf63f8b063db57f507c6e2
7
+ data.tar.gz: 49b8527c0b6bbacecb79b2d6f28e6731e8b5f5534f3f024e482382590662aa33417cbfb9bb7713bac9afd7f3cb25de298227df53a3f369699e77aa18c3c0f0e6
@@ -1,3 +1,3 @@
1
1
  module BeakerPuppet
2
- VERSION = '1.18.10'
2
+ VERSION = '1.18.11'
3
3
  end
@@ -139,7 +139,7 @@ namespace :ci do
139
139
  end
140
140
  end
141
141
 
142
- task :gen_hosts do
142
+ task :gen_hosts, [:hypervisor] do |t, args|
143
143
  hosts =
144
144
  if ENV['HOSTS']
145
145
  ENV['HOSTS']
@@ -162,7 +162,15 @@ namespace :ci do
162
162
  ENV['HOSTS'] = hosts
163
163
  else
164
164
  hosts_file = "tmp/#{hosts}-#{SecureRandom.uuid}.yaml"
165
- cli = BeakerHostGenerator::CLI.new([hosts, '--disable-default-role', '--osinfo-version', '1'])
165
+ cli_args = [
166
+ hosts,
167
+ '--disable-default-role',
168
+ '--osinfo-version', '1'
169
+ ]
170
+ if args[:hypervisor]
171
+ cli_args += ['--hypervisor', args[:hypervisor]]
172
+ end
173
+ cli = BeakerHostGenerator::CLI.new(cli_args)
166
174
  FileUtils.mkdir_p('tmp') # -p ignores when dir already exists
167
175
  File.open(hosts_file, 'w') do |fh|
168
176
  fh.print(cli.execute)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.18.10
4
+ version: 1.18.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-26 00:00:00.000000000 Z
11
+ date: 2019-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -306,8 +306,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
306
306
  - !ruby/object:Gem::Version
307
307
  version: '0'
308
308
  requirements: []
309
- rubyforge_project:
310
- rubygems_version: 2.5.1
309
+ rubygems_version: 3.0.6
311
310
  signing_key:
312
311
  specification_version: 4
313
312
  summary: Beaker's Puppet DSL Extension Helpers!