simp-beaker-helpers 1.24.0 → 1.24.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/simp/beaker_helpers/version.rb +1 -1
- data/lib/simp/beaker_helpers.rb +6 -3
- 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: bf9271df59bd88be59e1555cd5536c0906f7d09dcb2d1096df801302b1ebbd0d
|
4
|
+
data.tar.gz: 967fb58eb7e5561c35b32899beb972d4b0f70a423239d05e5e12aad20b207658
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dfd8dcd9bb759cd995aad0f33f072064537dccd5d96cd9b19e5193b069a8c62b5df860802c8a99f0478bbb596fa882cbd8f482d1d581ff9c72218049c3051f2
|
7
|
+
data.tar.gz: bd0af0b10d2b743c2f8995821d00c64c4d3bf9d387ebefd3c6af81e4bb738b88ded50671214baf7c74e174fa5e4eb8f884722c5d34c4a06f831e4d79fd098b10
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
### 1.24.1 / 2021-10-27
|
2
|
+
* Fixed:
|
3
|
+
* Worked around a bug in 'puppet lookup' - PUP-11402
|
4
|
+
* Updated calls to the operating system fact when connecting to RHSM
|
5
|
+
|
1
6
|
### 1.24.0 / 2021-10-05
|
2
7
|
* Fixed:
|
3
8
|
* Pinned the version of inspec to 4.39.0 since 4.41 broke tag processing
|
data/lib/simp/beaker_helpers.rb
CHANGED
@@ -810,8 +810,8 @@ module Simp::BeakerHelpers
|
|
810
810
|
rhsm_opts.merge!(opts)
|
811
811
|
end
|
812
812
|
|
813
|
-
os = fact_on(sut, '
|
814
|
-
os_release = fact_on(sut, '
|
813
|
+
os = fact_on(sut, 'os.name').strip
|
814
|
+
os_release = fact_on(sut, 'os.release.major').strip
|
815
815
|
|
816
816
|
if os == 'RedHat'
|
817
817
|
unless rhsm_opts[:username] && rhsm_opts[:password]
|
@@ -1244,8 +1244,11 @@ module Simp::BeakerHelpers
|
|
1244
1244
|
#
|
1245
1245
|
# @returns [String] Path to the Hieradata directory on the target system
|
1246
1246
|
def hiera_datadir(sut)
|
1247
|
+
# A workaround for PUP-11042
|
1248
|
+
sut_environment = sut.puppet_configprint['environment']
|
1249
|
+
|
1247
1250
|
# This output lets us know where Hiera is configured to look on the system
|
1248
|
-
puppet_lookup_info = on(sut,
|
1251
|
+
puppet_lookup_info = on(sut, "puppet lookup --explain --environment #{sut_environment} test__simp__test", :silent => true).output.strip.lines
|
1249
1252
|
|
1250
1253
|
if sut.puppet_configprint['manifest'].nil? || sut.puppet_configprint['manifest'].empty?
|
1251
1254
|
fail("No output returned from `puppet config print manifest` on #{sut}")
|
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.24.
|
4
|
+
version: 1.24.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:
|
12
|
+
date: 2022-01-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: beaker
|