simp-beaker-helpers 1.34.2 → 1.34.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d461f45ee5b0db860774ea2ef655a4a4c2d96701ce9e626d5a8d32fd7700a340
4
- data.tar.gz: e09aab2048b638a82ffb57bee93186f4e8a524418dadea9fed46245853c0735e
3
+ metadata.gz: 17e1bd722f7ae35ab7e8b4d54a92511ca1d7496d9a4853b8300a6d2c35a99e33
4
+ data.tar.gz: 9280f76fac92493eff230699c570e9899ec98fe4770a9d8231544f2a677ab0a8
5
5
  SHA512:
6
- metadata.gz: ae6d37b9fdff5dbe6bb33fabca8c2050fc29dcc54a8e8e3e7e5b2cc6b95b98360e6a9c34ebda0e3cb8af99acdf44516a211e83f03318c63c835bc9e8da844cb7
7
- data.tar.gz: 2d04d5cfb87f07b196832aee4249493c1ca81b9cbed50a2f997c6103d73e6a8f6dc8b2025d41feb26fc3a1c9d287639cc6e790d047cd0f0dfdb6e1f3c4d33c15
6
+ metadata.gz: 575bca1145a5d59dcbf87ff1fa2457bbf1c69e5dc4b0381e42e922287afe487f5c0cdeb3e986d7f11413ef342273124bb5d8d02113b899c9ba04fe19066474ca
7
+ data.tar.gz: 190c3c6b033ee0eab710b3505ab48b18f5c2951f64cd41a10f42417eba79fc45d1a6002501ae23fa5c503fdde0f05d201e763b9eb64212c62be8d3d34f5f8107
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 1.34.3 / 2024-12-20
2
+ * Fixed:
3
+ * Update /etc/hosts on all nodes when hostname changes (#227)
4
+
1
5
  ### 1.34.2 / 2024-12-19
2
6
  * Fixed:
3
7
  * Update /etc/hosts when hostname changes (#224)
@@ -3,5 +3,5 @@
3
3
  module Simp; end
4
4
 
5
5
  module Simp::BeakerHelpers
6
- VERSION = '1.34.2'
6
+ VERSION = '1.34.3'
7
7
  end
@@ -729,7 +729,7 @@ module Simp::BeakerHelpers
729
729
  if current_domain.nil? || current_domain.empty?
730
730
  new_fqdn = hostname + '.beaker.test'
731
731
 
732
- safe_sed(sut, "s/#{hostname}.*/#{new_fqdn} #{hostname}/", '/etc/hosts')
732
+ safe_sed(suts, "s/#{hostname}.*/#{new_fqdn} #{hostname}/", '/etc/hosts')
733
733
 
734
734
  if !sut.which('hostnamectl').empty?
735
735
  on(sut, "hostnamectl set-hostname #{new_fqdn}")
@@ -939,8 +939,13 @@ module Simp::BeakerHelpers
939
939
 
940
940
  # Apply known OS fixes we need to run Beaker on each SUT
941
941
  def fix_errata_on( suts = hosts )
942
- block_on(suts, :run_in_parallel => @run_in_parallel) do |sut|
943
- if is_windows?(sut)
942
+ windows_suts = suts.select { |sut| is_windows?(sut) }
943
+ linux_suts = suts - windows_suts
944
+
945
+ linux_errata(linux_suts) unless linux_suts.empty?
946
+
947
+ unless windows_suts.empty?
948
+ block_on(windows_suts, :run_in_parallel => @run_in_parallel) do |sut|
944
949
  # Load the Windows requirements
945
950
  require 'simp/beaker_helpers/windows'
946
951
 
@@ -971,8 +976,6 @@ module Simp::BeakerHelpers
971
976
  EOM
972
977
 
973
978
  install_cert_on_windows(sut, 'geotrustglobal', geotrust_global_ca)
974
- else
975
- linux_errata(sut)
976
979
  end
977
980
  end
978
981
 
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.34.2
4
+ version: 1.34.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: 2024-12-19 00:00:00.000000000 Z
12
+ date: 2024-12-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: beaker