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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7be862faf13757c406675863d317c3c57ffc7f77
4
- data.tar.gz: 22e7dff771131c9fa77e52d208d48e1092f446c0
3
+ metadata.gz: 3e16267d62c8c76dd35b4cdeaab753c21298fcc4
4
+ data.tar.gz: 18bd39a4c2bac2a0462be399d963f5fa703e4f27
5
5
  SHA512:
6
- metadata.gz: cd02ed4bef38f307b74d6228e40afe873a2ddb5ba8648257db05cf88e5c7e15aecb7c10d651e00193cddc1df72276f698f9a52a50ff63249cad70bb7003af890
7
- data.tar.gz: ff91928468617d0635546b972185de2cda0589c4ea25af6e81f59eade6c2d26b03859d71d8cbbe1044dddcd6cc95b09baa53ccc949386fda14548c785dc09936
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.0...master)
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'
@@ -1,5 +1,5 @@
1
1
  module Beaker
2
2
  module Version
3
- STRING = '4.13.0'
3
+ STRING = '4.13.1'
4
4
  end
5
5
  end
@@ -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.0
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-09-16 00:00:00.000000000 Z
11
+ date: 2019-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec