simp-beaker-helpers 1.23.2 → 1.23.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cfd8d6cfc126259b0d2062a8c63765eb67e1645a46d8fd5bdc4605455d4e10bb
4
- data.tar.gz: 006e29f01522f454f0ccc84caa3f9ae22405f6034bfaf074080ceb1bec6a9008
3
+ metadata.gz: 88ab91d8bd2eef77e691c0d864999426ba1321f866decc3a867075535fe23c7b
4
+ data.tar.gz: 1bf21a9614c1b814ebf80059e60b00c80defd6cc4733bbd421ce6a2620d9e744
5
5
  SHA512:
6
- metadata.gz: c094cfa4b6d883bbf83a463a646d2a03b9b543f7fcccca64d9afe72d35a9f7c22112500071f96a150eead084f1ffc0dda7a6cd3be78f2da7ddcf04dc1565ccab
7
- data.tar.gz: d22878a97daf38ed771e4d2a023ef4edcdf69edaaee8e0ce9d282cd944010f78e27a90ae5dffdf524a98ccf2a359e8356c6bbfbaa81c99e33cfc0b7b740a7222
6
+ metadata.gz: 3ebba34024934a95b6e2b343bbdc0bb56859a686d20c9a7053d3ffdeedd528260379a7ba82a5b5dd1914d661f46eb1e64b48aef4ee84e88e5181754a5fc151b9
7
+ data.tar.gz: 5a69d66af5c521f0ec19c52dc1501ab5731f54155b9b23ff64b6d145dff18f05e8bfbb154410c2b2e3282da6c639f05a61b4d42f515d55b36166094d8dfecac3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 1.23.3 / 2021-06-30
2
+ * Fixed:
3
+ * Removed the Streams kernel update for EL 8.3 since it now causes issues
4
+ * Use `pfact_on` to select the interface facts to fix Puppet 7 issues
5
+
1
6
  ### 1.23.2 / 2021-05-29
2
7
  * Fixed:
3
8
  * Fail an acceptance test when an explicitly-specified nodeset for an
@@ -248,7 +248,7 @@ module Simp::BeakerHelpers
248
248
  rescue StandardError
249
249
  # If *anything* fails, we need to fall back to `puppet facts`
250
250
 
251
- facts_json = on(sut, 'puppet facts find garbage_xxx', :silent => true).stdout
251
+ facts_json = retry_on(sut, 'puppet facts find garbage_xxx', :silent => true, :max_retries => 4).stdout
252
252
  facts = JSON.parse(facts_json)['values']
253
253
  end
254
254
 
@@ -771,15 +771,6 @@ module Simp::BeakerHelpers
771
771
  apply_manifest_on(sut, pp, :catch_failures => false)
772
772
  end
773
773
 
774
- unless sut[:hypervisor] == 'docker'
775
- if (os_info['name'] == 'CentOS') && (os_info['release']['major'].to_i >= 8)
776
- if os_info['release']['minor'].to_i == 3
777
- update_package_from_centos_stream(sut, 'kernel')
778
- sut.reboot
779
- end
780
- end
781
- end
782
-
783
774
  # Clean up YUM prior to starting our test runs.
784
775
  on(sut, 'yum clean all')
785
776
  end
@@ -1096,13 +1087,13 @@ module Simp::BeakerHelpers
1096
1087
  next
1097
1088
  end
1098
1089
 
1099
- interfaces_fact = retry_on(host,'facter interfaces', verbose: true).stdout
1090
+ interfaces_fact = pfact_on(host, 'interfaces')
1100
1091
 
1101
1092
  interfaces = interfaces_fact.strip.split(',')
1102
1093
  interfaces.delete_if { |x| x =~ /^lo/ }
1103
1094
 
1104
1095
  interfaces.each do |iface|
1105
- if fact_on(host, "ipaddress_#{iface}").strip.empty?
1096
+ if pfact_on(host, "ipaddress_#{iface}")
1106
1097
  on(host, "ifup #{iface}", :accept_all_exit_codes => true)
1107
1098
  end
1108
1099
  end
@@ -38,7 +38,8 @@ module Simp::BeakerHelpers
38
38
  'python3',
39
39
  'python3-jinja2',
40
40
  'python3-lxml',
41
- 'python3-pyyaml'
41
+ 'python3-pyyaml',
42
+ 'libarchive'
42
43
  ]
43
44
 
44
45
  OS_INFO = {
@@ -94,6 +95,16 @@ module Simp::BeakerHelpers
94
95
  }
95
96
  }
96
97
  },
98
+ 'Rocky' => {
99
+ '8' => {
100
+ 'required_packages' => EL8_PACKAGES,
101
+ 'ssg' => {
102
+ 'profile_target' => 'centos8',
103
+ 'build_target' => 'centos8',
104
+ 'datastream' => 'ssg-centos8-ds.xml'
105
+ }
106
+ }
107
+ },
97
108
  'OracleLinux' => {
98
109
  '7' => {
99
110
  'required_packages' => EL_PACKAGES,
@@ -136,7 +147,7 @@ module Simp::BeakerHelpers
136
147
  end
137
148
 
138
149
  OS_INFO[@os][@os_rel]['required_packages'].each do |pkg|
139
- @sut.install_package(pkg)
150
+ install_latest_package_on(@sut, pkg)
140
151
  end
141
152
 
142
153
  @output_dir = File.absolute_path('sec_results/ssg')
@@ -1,5 +1,5 @@
1
1
  module Simp; end
2
2
 
3
3
  module Simp::BeakerHelpers
4
- VERSION = '1.23.2'
4
+ VERSION = '1.23.3'
5
5
  end
@@ -18,7 +18,7 @@ HOSTS:
18
18
  roles:
19
19
  - el8
20
20
  platform: el-8-x86_64
21
- box: centos/8
21
+ box: generic/centos8
22
22
  hypervisor: <%= hypervisor %>
23
23
 
24
24
  el8-0:
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.23.2
4
+ version: 1.23.3
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: 2021-06-02 00:00:00.000000000 Z
12
+ date: 2021-06-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: beaker