beaker 4.41.0 → 4.41.1

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: 525b6a9075032237a7a0432d2c7e016d60864f5bffa4cf1be154f55b80a295ab
4
- data.tar.gz: c0bc73ad7426ec048475bd55cbb9338349cb3b498ae03e281a2be5acef923e5a
3
+ metadata.gz: c06faa5c80dc86ede27a61dca6134f4ce08fa3515920a61fea1076f2864152a4
4
+ data.tar.gz: 39c5e65099b28d6f858e16f6027e9fb9ab2a0cc3dfc4d157eab5a2fad5b34fc0
5
5
  SHA512:
6
- metadata.gz: 67890b5331b7474ac34566e3f6781f9eef91b4993238520b0c4a3584acfde5a41a2adafaa8eccd80aca32fbcdc4cbfabca51da40c5e07f3eb6e12cf9ad0b0d03
7
- data.tar.gz: a4996b26068c591881df3b2d8bc88ccb88b08f4501250765488a5f30553d2346e7a2f42e63133a0b39183f3679d7debace57140b4601855b6646e9d050ed03e3
6
+ metadata.gz: 9182f83ddcbbdd920d09c8dbc410b7fb017cb22a7a128f30713749ebebd1964a431c6c78aac38d7ba29c75addadd300f7ee539c1b93344f9ca6f302bda2cce6a
7
+ data.tar.gz: cd4a94ae6414b2b9bf5c225d904f3b87346787abc25e79541d88ccdf5e8074b02a5c2b8ae0b6355268d77b8f2fd07517aaf02f5052c687fc32f4ee57985edc21
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.41.1](https://github.com/voxpupuli/beaker/tree/4.41.1) (2023-12-04)
4
+
5
+ [Full Changelog](https://github.com/voxpupuli/beaker/compare/4.41.0...4.41.1)
6
+
7
+ **Fixed bugs:**
8
+
9
+ - (maint) Use DNF as Amazon Linux 2023 package manager [\#1831](https://github.com/voxpupuli/beaker/pull/1831) ([mhashizume](https://github.com/mhashizume))
10
+
3
11
  ## [4.41.0](https://github.com/voxpupuli/beaker/tree/4.41.0) (2023-11-15)
4
12
 
5
13
  [Full Changelog](https://github.com/voxpupuli/beaker/compare/4.40.2...4.41.0)
@@ -91,12 +91,12 @@ module Unix::Pkg
91
91
  execute("zypper --non-interactive --gpg-auto-import-keys in #{name}", opts)
92
92
  when /el-4/
93
93
  @logger.debug("Package installation not supported on rhel4")
94
- when /fedora-(2[2-9]|3[0-9])/
94
+ when /amazon-2023|fedora-(2[2-9]|3[0-9])/
95
95
  if version
96
96
  name = "#{name}-#{version}"
97
97
  end
98
98
  execute("dnf -y #{cmdline_args} install #{name}", opts)
99
- when /amazon|cisco|fedora|centos|redhat|eos|el-/
99
+ when /cisco|fedora|centos|redhat|eos|el-/
100
100
  if version
101
101
  name = "#{name}-#{version}"
102
102
  end
@@ -183,7 +183,7 @@ module Unix::Pkg
183
183
  execute("zypper --non-interactive rm #{name}", opts)
184
184
  when /el-4/
185
185
  @logger.debug("Package uninstallation not supported on rhel4")
186
- when /amazon|fedora-(2[2-9]|3[0-9])/
186
+ when /amazon-2023|fedora-(2[2-9]|3[0-9])/
187
187
  execute("dnf -y #{cmdline_args} remove #{name}", opts)
188
188
  when /cisco|fedora|centos|redhat|eos|el-/
189
189
  execute("yum -y #{cmdline_args} remove #{name}", opts)
@@ -1,5 +1,5 @@
1
1
  module Beaker
2
2
  module Version
3
- STRING = '4.41.0'
3
+ STRING = '4.41.1'
4
4
  end
5
5
  end
@@ -270,7 +270,7 @@ module Beaker
270
270
  it "uses dnf on amazon-2023" do
271
271
  @opts = { 'platform' => "amazon-2023-is-me" }
272
272
  pkg = 'amazon_package'
273
- expect(Beaker::Command).to receive(:new).with("yum -y install #{pkg}", [], { :prepend_cmds => nil, :cmdexe => false }).and_return('')
273
+ expect(Beaker::Command).to receive(:new).with("dnf -y install #{pkg}", [], { :prepend_cmds => nil, :cmdexe => false }).and_return('')
274
274
  expect(instance).to receive(:exec).with('', {}).and_return(generate_result("hello", { :exit_code => 0 }))
275
275
  expect(instance.install_package(pkg)).to be == "hello"
276
276
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.41.0
4
+ version: 4.41.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-16 00:00:00.000000000 Z
11
+ date: 2023-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fakefs