puppet_litmus 0.34.4 → 0.34.5
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 +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ff985b189104c3cbf55d310c602ea525c4ea40a7ad066ed2b0fe078488012416
|
4
|
+
data.tar.gz: 1bbb7872b1850112936d8222bdeaa71f966da7fa29865950b7a334231e49285b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 984af2490dbd1e17592b2856bd530ddb68e4ee133653157646d110161f4400963d8bb12da097f597981ee191834416544a6b27d5b4bff6586264b31d9b4a6326
|
7
|
+
data.tar.gz: a7d440fd1b7678efecaec60147fa1672850c93d376fc808f7a25ca58a1f074c3106433acaa68a2015af201beee81f860b3e7dc96c7d02f50119f51f81cb0c9e6
|
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.5
|
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-02-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bolt
|
@@ -209,23 +209,23 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
209
209
|
- !ruby/object:Gem::Version
|
210
210
|
version: '0'
|
211
211
|
requirements: []
|
212
|
-
rubygems_version: 3.
|
212
|
+
rubygems_version: 3.1.6
|
213
213
|
signing_key:
|
214
214
|
specification_version: 4
|
215
215
|
summary: Providing a simple command line tool for puppet content creators, to enable
|
216
216
|
simple and complex test deployments.
|
217
217
|
test_files:
|
218
|
-
- spec/spec_helper.rb
|
219
|
-
- spec/support/inventory.rb
|
220
|
-
- spec/support/inventorytesting.yaml
|
221
|
-
- spec/lib/puppet_litmus/rake_tasks_spec.rb
|
222
|
-
- spec/lib/puppet_litmus/puppet_litmus_version_spec.rb
|
223
|
-
- spec/lib/puppet_litmus/util_spec.rb
|
224
|
-
- spec/lib/puppet_litmus/inventory_manipulation_spec.rb
|
225
|
-
- spec/lib/puppet_litmus/rake_helper_spec.rb
|
226
|
-
- spec/lib/puppet_litmus/puppet_helpers_spec.rb
|
227
218
|
- spec/exe/fake_metadata.json
|
228
219
|
- spec/exe/matrix_from_metadata_v2_spec.rb
|
229
220
|
- spec/data/doot.tar.gz
|
230
221
|
- spec/data/jim.yaml
|
231
222
|
- spec/data/inventory.yaml
|
223
|
+
- spec/lib/puppet_litmus/puppet_litmus_version_spec.rb
|
224
|
+
- spec/lib/puppet_litmus/rake_helper_spec.rb
|
225
|
+
- spec/lib/puppet_litmus/inventory_manipulation_spec.rb
|
226
|
+
- spec/lib/puppet_litmus/util_spec.rb
|
227
|
+
- spec/lib/puppet_litmus/puppet_helpers_spec.rb
|
228
|
+
- spec/lib/puppet_litmus/rake_tasks_spec.rb
|
229
|
+
- spec/spec_helper.rb
|
230
|
+
- spec/support/inventory.rb
|
231
|
+
- spec/support/inventorytesting.yaml
|