beaker 4.41.0 → 4.41.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 +8 -0
- data/lib/beaker/host/unix/pkg.rb +3 -3
- data/lib/beaker/version.rb +1 -1
- data/spec/beaker/host/unix/pkg_spec.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: c06faa5c80dc86ede27a61dca6134f4ce08fa3515920a61fea1076f2864152a4
|
|
4
|
+
data.tar.gz: 39c5e65099b28d6f858e16f6027e9fb9ab2a0cc3dfc4d157eab5a2fad5b34fc0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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)
|
data/lib/beaker/host/unix/pkg.rb
CHANGED
|
@@ -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 /
|
|
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)
|
data/lib/beaker/version.rb
CHANGED
|
@@ -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("
|
|
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.
|
|
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
|
+
date: 2023-12-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fakefs
|