simp-beaker-helpers 1.15.2 → 1.16.1
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/CHANGELOG.md +6 -0
- data/lib/simp/beaker_helpers.rb +13 -0
- data/lib/simp/beaker_helpers/inspec.rb +0 -3
- data/lib/simp/beaker_helpers/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f51c1bc0d8da06da51c0d257154c71b6997477e945d0af0c3328db47d123d88a
|
4
|
+
data.tar.gz: 03eca2caea8a6aa16a6ec65a4fa8a91f47c35d2f15726b099545c57bc3be8b9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '088eaba36bda201c0703fddc83a98620f54a7743b8b1d8b1bdf662d776a2e2eab7fc7c19d98ff5ece42ab88731a7f2313ac648f80483d2d5699b25e9e2cdbd92'
|
7
|
+
data.tar.gz: 771501fb770aef3615337e7c89252fd44ade40e0ea5c1b9d5b660d29f510265009badc23ac1229a9610839b3cb3149248945d38f17673c2a7eea3a6ec9b8abc8
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
### 1.16.1 / 2019-09-25
|
2
|
+
* Remove debugging pry that was accidentally left in
|
3
|
+
|
4
|
+
### 1.16.0 / 2019-09-23
|
5
|
+
* Added a sosreport function to gather SOS Reports from EL systems
|
6
|
+
|
1
7
|
### 1.15.2 / 2019-09-13
|
2
8
|
* Fix an issue where the inspec reports were not processed properly
|
3
9
|
|
data/lib/simp/beaker_helpers.rb
CHANGED
@@ -553,6 +553,19 @@ module Simp::BeakerHelpers
|
|
553
553
|
end
|
554
554
|
end
|
555
555
|
|
556
|
+
def sosreport(sut, dest='sosreports')
|
557
|
+
sut.install_package('sos')
|
558
|
+
on(sut, 'sosreport --batch')
|
559
|
+
|
560
|
+
files = on(sut, 'ls /var/tmp/sosreport* /tmp/sosreport* 2>/dev/null', :accept_all_exit_codes => true).output.lines.map(&:strip)
|
561
|
+
|
562
|
+
FileUtils.mkdir_p(dest)
|
563
|
+
|
564
|
+
files.each do |file|
|
565
|
+
scp_from(sut, file, File.absolute_path(dest))
|
566
|
+
end
|
567
|
+
end
|
568
|
+
|
556
569
|
def rhel_repo_enable(sut, repos)
|
557
570
|
Array(repos).each do |repo|
|
558
571
|
on(sut, %{subscription-manager repos --enable #{repo}})
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simp-beaker-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.16.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Tessmer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-09-
|
12
|
+
date: 2019-09-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: beaker
|