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 +5 -5
- data/lib/beaker-puppet/version.rb +1 -1
- data/tasks/ci.rake +10 -2
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: baf2e711b2baa65068adaad74a00e31ba48fda17408fe11b599eba9960eaa6b6
|
4
|
+
data.tar.gz: 766db6ed9e94b73e30ad1d8ef1bb318e95ad6ec6f06f77ca5c199ddb3e673681
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c4c0a3dea1c5f7e9b2b6fdc23ce7683f32aef43c067b422989a1f7584b18a1782c14f13007ce73243027da886a2f7b3b656a758ac2cf63f8b063db57f507c6e2
|
7
|
+
data.tar.gz: 49b8527c0b6bbacecb79b2d6f28e6731e8b5f5534f3f024e482382590662aa33417cbfb9bb7713bac9afd7f3cb25de298227df53a3f369699e77aa18c3c0f0e6
|
data/tasks/ci.rake
CHANGED
@@ -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
|
-
|
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.
|
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
|
+
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
|
-
|
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!
|