beaker 4.13.0 → 4.13.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 +7 -1
- data/lib/beaker/host/unix/file.rb +2 -0
- data/lib/beaker/version.rb +1 -1
- data/spec/beaker/host/unix/file_spec.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3e16267d62c8c76dd35b4cdeaab753c21298fcc4
|
|
4
|
+
data.tar.gz: 18bd39a4c2bac2a0462be399d963f5fa703e4f27
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9ed91ca3ffa14a14c597598bed82ff6e7273b0d8d6f5a2f3d1064f1891f0f451f80a6d0b75db41e7dee05bbf421a5008ca543752e421347510cf58eca0c26188
|
|
7
|
+
data.tar.gz: 717832ffa472ea63b6dc1740a40d8745a869cd35ceb129c393e2976117cd8e7024e42db7e5139f3da7db6fad2eb0368906ba2aa8e10a2fba5595154ba4e94793
|
data/CHANGELOG.md
CHANGED
|
@@ -11,7 +11,13 @@ Tracking in this Changelog began for this project in version 3.25.0.
|
|
|
11
11
|
If you're looking for changes from before this, refer to the project's
|
|
12
12
|
git logs & PR history.
|
|
13
13
|
|
|
14
|
-
# [Unreleased](https://github.com/puppetlabs/beaker/compare/4.13.
|
|
14
|
+
# [Unreleased](https://github.com/puppetlabs/beaker/compare/4.13.1...master)
|
|
15
|
+
|
|
16
|
+
# [4.13.1](https://github.com/puppetlabs/beaker/compare/4.13.0...4.13.1) - 2019-10-07
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Use correct platform variant for FIPS repo configs download (BKR-1616)
|
|
15
21
|
|
|
16
22
|
# [4.13.0](https://github.com/puppetlabs/beaker/compare/4.12.0...4.13.0) - 2019-09-16
|
|
17
23
|
|
|
@@ -108,6 +108,8 @@ module Unix::File
|
|
|
108
108
|
when /fedora|el|redhat|centos|cisco_nexus|cisco_ios_xr|sles/
|
|
109
109
|
variant = 'el' if ['centos', 'redhat'].include?(variant)
|
|
110
110
|
|
|
111
|
+
variant = 'redhatfips' if self['packaging_platform'] =~ /redhatfips/
|
|
112
|
+
|
|
111
113
|
if variant == 'cisco_nexus'
|
|
112
114
|
variant = 'cisco-wrlinux'
|
|
113
115
|
version = '5'
|
data/lib/beaker/version.rb
CHANGED
|
@@ -110,6 +110,15 @@ module Beaker
|
|
|
110
110
|
expect( filename ).to be === correct
|
|
111
111
|
end
|
|
112
112
|
|
|
113
|
+
it 'builds the filename correctly for redhatfips platforms' do
|
|
114
|
+
@platform = 'el-7-x86_64'
|
|
115
|
+
allow(instance).to receive(:[]).with('platform') { platform['platform'] }
|
|
116
|
+
expect(instance).to receive(:[]).with('packaging_platform') { 'redhatfips-7-x86_64' }
|
|
117
|
+
filename = instance.repo_filename('pkg_name', 'pkg_version')
|
|
118
|
+
correct = 'pl-pkg_name-pkg_version-redhatfips-7-x86_64.repo'
|
|
119
|
+
expect( filename ).to be === correct
|
|
120
|
+
end
|
|
121
|
+
|
|
113
122
|
it 'adds in the PE portion of the filename correctly for el-based PE hosts' do
|
|
114
123
|
@platform = 'el-21-x86_64'
|
|
115
124
|
allow( instance ).to receive( :is_pe? ) { true }
|
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.13.
|
|
4
|
+
version: 4.13.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppet
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|