beaker 4.37.0 → 4.37.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
  SHA256:
3
- metadata.gz: 147352406c9fe42bb99fad85f3c583a2be345385191eafe9e685dce331025c21
4
- data.tar.gz: 4fe85be2e9ef2e81d59be68d7c83f573648f3d36bc25e3c67fbf8c53e3786de0
3
+ metadata.gz: f0d409c6cd07fc46ac641d68560cfe5ab40515df89f1a15bf6521b9f3bc044d9
4
+ data.tar.gz: e4d0909c8e1cb8190d35e740ee5c954f9e50241b4e763f416ed2d1374c92d2c2
5
5
  SHA512:
6
- metadata.gz: b2d94a7dccbc611478c859ca640c317e7624a3f6c9ac5d2857c91f24b15c36e52537ab99a412676c7bf7978b6fcf85bfc67a7c1931183e64b080fb86b38b4bd0
7
- data.tar.gz: 3af90b7213b32d74a5f5340132ae428eab9a991fc93bbafb69a4a2a6db4d3f9f5e255d3da0bb965401fb05ba552f8d9deafef2c7c5d3899e404e04975e504149
6
+ metadata.gz: 45402a7f027808b4a3b3b7e797cf6fcdfb620d3dd7af45e0e07771fb289c21f7bb65265698a1225eeac15629542738cd0e1f67ae5dfd29bb1e1abeef9f5db554
7
+ data.tar.gz: 48f6623ca4b0f61dd737f1ef16d1258558aa238ba57bbf8596cd69b3403d5b3883d8d89977d73fd637c526b5665fe12d03af3fd68d38c37d646031cffac506d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.37.1](https://github.com/voxpupuli/beaker/tree/4.37.1) (2022-07-27)
4
+
5
+ ## Fixed
6
+
7
+ - macOS PE tarballs include arch now ([#1747](https://github.com/voxpupuli/beaker/pull/1747))
8
+
3
9
  ## [4.37.0](https://github.com/voxpupuli/beaker/tree/4.37.0) (2022-06-27)
4
10
 
5
11
  ## Added
@@ -118,7 +118,15 @@ module Mac::Pkg
118
118
 
119
119
  variant, version, arch, codename = self['platform'].to_array
120
120
  release_file = "/repos/apple/#{version}/#{puppet_collection}/#{arch}/puppet-agent-*"
121
- download_file = "puppet-agent-#{variant}-#{version}.tar.gz"
121
+
122
+ # macOS puppet-agent tarballs haven't always included arch
123
+ agent_version = opts[:puppet_agent_version]
124
+ download_file = if agent_version && (agent_version.to_f < 6.28 || agent_version.to_f < 7.18)
125
+ "puppet-agent-#{variant}-#{version}.tar.gz"
126
+ else
127
+ "puppet-agent-#{variant}-#{version}-#{arch}.tar.gz"
128
+ end
129
+
122
130
  return '', release_file, download_file
123
131
  end
124
132
 
@@ -1,5 +1,5 @@
1
1
  module Beaker
2
2
  module Version
3
- STRING = '4.37.0'
3
+ STRING = '4.37.1'
4
4
  end
5
5
  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.37.0
4
+ version: 4.37.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-28 00:00:00.000000000 Z
11
+ date: 2022-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec