puppet_litmus 0.34.4 → 0.34.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/exe/matrix_from_metadata_v2 +1 -2
- data/lib/puppet_litmus/rake_helper.rb +3 -3
- data/lib/puppet_litmus/rake_tasks.rb +1 -1
- data/lib/puppet_litmus/version.rb +1 -1
- metadata +24 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2e6995f6c4a1cd2d14abbbf0d617ef28b18b029c3b3b3a342d7e1a98b0673394
|
|
4
|
+
data.tar.gz: 86fd172c61f5775906e666732cdcb949a28c62c6cb7e9e67c8c4638195dba488
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4ffef8459fcd7b032a6fc43a376ebc833be88f344f59364b4b622e7d0bddf8cf7a4d8681e6fa3012b6914ab6922a5b59d4d7e41b286e740dd543ff5e59b80887
|
|
7
|
+
data.tar.gz: 8789b4289c68186345dd097bda8539d8f5006184eb3b58f8cf544ca0fe80bb35d54ca6f43d7ddaa3fd53785b5d6e6dcf01e3fce4185e6a1fb27e3f4588f86773
|
data/exe/matrix_from_metadata_v2
CHANGED
|
@@ -11,9 +11,8 @@ IMAGE_TABLE = {
|
|
|
11
11
|
'RedHat-9' => 'rhel-9',
|
|
12
12
|
'SLES-12' => 'sles-12',
|
|
13
13
|
'SLES-15' => 'sles-15',
|
|
14
|
-
# 'Windows-2012 R2' => 'windows-2012-r2-core',
|
|
15
14
|
'Windows-2016' => 'windows-2016',
|
|
16
|
-
'Windows-2019' => 'windows-2019
|
|
15
|
+
'Windows-2019' => 'windows-2019',
|
|
17
16
|
'Windows-2022' => 'windows-2022',
|
|
18
17
|
}.freeze
|
|
19
18
|
|
|
@@ -231,11 +231,11 @@ module PuppetLitmus::RakeHelper
|
|
|
231
231
|
def configure_path(inventory_hash)
|
|
232
232
|
results = []
|
|
233
233
|
# fix the path on ssh_nodes
|
|
234
|
-
unless inventory_hash['groups'].select { |group| group['name'] == 'ssh_nodes' && !group['targets'].empty? }.
|
|
234
|
+
unless inventory_hash['groups'].select { |group| group['name'] == 'ssh_nodes' && !group['targets'].empty? }.empty?
|
|
235
235
|
results << run_command('echo PATH="$PATH:/opt/puppetlabs/puppet/bin" > /etc/environment',
|
|
236
236
|
'ssh_nodes', config: nil, inventory: inventory_hash)
|
|
237
237
|
end
|
|
238
|
-
unless inventory_hash['groups'].select { |group| group['name'] == 'winrm_nodes' && !group['targets'].empty? }.
|
|
238
|
+
unless inventory_hash['groups'].select { |group| group['name'] == 'winrm_nodes' && !group['targets'].empty? }.empty?
|
|
239
239
|
results << run_command('[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Program Files\Puppet Labs\Puppet\bin;C:\Program Files (x86)\Puppet Labs\Puppet\bin", "Machine")',
|
|
240
240
|
'winrm_nodes', config: nil, inventory: inventory_hash)
|
|
241
241
|
end
|
|
@@ -377,7 +377,7 @@ module PuppetLitmus::RakeHelper
|
|
|
377
377
|
end
|
|
378
378
|
span.add_field('litmus.connectivity_success', results.select { |r| r['status'] == 'success' })
|
|
379
379
|
span.add_field('litmus.connectivity_failure', results.reject { |r| r['status'] == 'success' })
|
|
380
|
-
raise "Connectivity has failed on: #{failed}" unless failed.
|
|
380
|
+
raise "Connectivity has failed on: #{failed}" unless failed.empty?
|
|
381
381
|
|
|
382
382
|
puts 'Connectivity check PASSED.'
|
|
383
383
|
true
|
|
@@ -328,7 +328,7 @@ namespace :litmus do
|
|
|
328
328
|
end
|
|
329
329
|
puts ''
|
|
330
330
|
# output the things that went wrong, after the successes
|
|
331
|
-
puts 'something went wrong:' unless bad_results.
|
|
331
|
+
puts 'something went wrong:' unless bad_results.empty?
|
|
332
332
|
bad_results.each do |result|
|
|
333
333
|
puts result
|
|
334
334
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puppet_litmus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.34.
|
|
4
|
+
version: 0.34.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppet, Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bolt
|
|
@@ -154,6 +154,20 @@ dependencies:
|
|
|
154
154
|
- - ">="
|
|
155
155
|
- !ruby/object:Gem::Version
|
|
156
156
|
version: '0'
|
|
157
|
+
- !ruby/object:Gem::Dependency
|
|
158
|
+
name: r10k
|
|
159
|
+
requirement: !ruby/object:Gem::Requirement
|
|
160
|
+
requirements:
|
|
161
|
+
- - '='
|
|
162
|
+
- !ruby/object:Gem::Version
|
|
163
|
+
version: 3.15.1
|
|
164
|
+
type: :runtime
|
|
165
|
+
prerelease: false
|
|
166
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
167
|
+
requirements:
|
|
168
|
+
- - '='
|
|
169
|
+
- !ruby/object:Gem::Version
|
|
170
|
+
version: 3.15.1
|
|
157
171
|
description: " Providing a simple command line tool for puppet content creators,
|
|
158
172
|
to enable simple and complex test deployments.\n"
|
|
159
173
|
email:
|
|
@@ -209,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
209
223
|
- !ruby/object:Gem::Version
|
|
210
224
|
version: '0'
|
|
211
225
|
requirements: []
|
|
212
|
-
rubygems_version: 3.
|
|
226
|
+
rubygems_version: 3.1.6
|
|
213
227
|
signing_key:
|
|
214
228
|
specification_version: 4
|
|
215
229
|
summary: Providing a simple command line tool for puppet content creators, to enable
|
|
@@ -218,14 +232,14 @@ test_files:
|
|
|
218
232
|
- spec/spec_helper.rb
|
|
219
233
|
- spec/support/inventory.rb
|
|
220
234
|
- spec/support/inventorytesting.yaml
|
|
235
|
+
- spec/exe/matrix_from_metadata_v2_spec.rb
|
|
236
|
+
- spec/exe/fake_metadata.json
|
|
237
|
+
- spec/data/jim.yaml
|
|
238
|
+
- spec/data/doot.tar.gz
|
|
239
|
+
- spec/data/inventory.yaml
|
|
221
240
|
- spec/lib/puppet_litmus/rake_tasks_spec.rb
|
|
222
241
|
- spec/lib/puppet_litmus/puppet_litmus_version_spec.rb
|
|
223
|
-
- spec/lib/puppet_litmus/util_spec.rb
|
|
224
242
|
- spec/lib/puppet_litmus/inventory_manipulation_spec.rb
|
|
225
|
-
- spec/lib/puppet_litmus/rake_helper_spec.rb
|
|
226
243
|
- spec/lib/puppet_litmus/puppet_helpers_spec.rb
|
|
227
|
-
- spec/
|
|
228
|
-
- spec/
|
|
229
|
-
- spec/data/doot.tar.gz
|
|
230
|
-
- spec/data/jim.yaml
|
|
231
|
-
- spec/data/inventory.yaml
|
|
244
|
+
- spec/lib/puppet_litmus/rake_helper_spec.rb
|
|
245
|
+
- spec/lib/puppet_litmus/util_spec.rb
|