beaker-pe 3.2.0 → 3.3.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: 6e1e3ee7449a81df4a5fecfdbf683c4714ae82739074879524840ef3853e3985
4
- data.tar.gz: 8cc1a9ed940acc35e3d80326510a8e75720312cb868a0ff73ae79f8851539e56
3
+ metadata.gz: 7f708fe43bba20734cab90b60ce41be2beeaa37f8abcd06442e675bf457f14d7
4
+ data.tar.gz: a01ef6d73351dcaa87ce709268d8f1c2416f5731a91d1282cb9521be4144faa1
5
5
  SHA512:
6
- metadata.gz: d3c48ca519266a175533ae8572eb8940104e514690f0e4655d4788d6ed957d2a55e0eedefca6561a34e191fb253ad94d3a52d9c65533534b2e5ea656cba88b03
7
- data.tar.gz: ed00460ff4f7c5d93096e578557c6f99c277575c11ca3637a51d59fdb45f42ada1d58669390b9d027e6d7fb4b4ad3f7a39e132457f53311ceeeabdb7196d99d8
6
+ metadata.gz: 30aeb8bac7f4fce50d8dc1ffb07ffb22544914c446836298312ec5aea8b545b60296f248a12ef48c9f4f407367b4d5652e475e42ad13e922f05d8ba6273bde62
7
+ data.tar.gz: 6b1cf7b6a3950812266b5916a78556470e4df54bbfd1657ad3453cff0c9f5712b6c72331d08b35d84d2c27a8c15a81f9ef6a8beef3ba45e687e3865e9a137c11
data/CHANGELOG.md CHANGED
@@ -1,8 +1,56 @@
1
1
  # Changelog
2
2
 
3
- ## [3.0.1](https://github.com/puppetlabs/beaker-pe/tree/3.0.1) (2024-04-08)
3
+ ## [3.3.1](https://github.com/puppetlabs/beaker-pe/tree/3.3.1) (2024-12-05)
4
4
 
5
- [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/3.0.0...3.0.1)
5
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/3.3.0...3.3.1)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - \(maint\): Added support for v2 agent download url [\#283](https://github.com/puppetlabs/beaker-pe/pull/283) ([span786](https://github.com/span786))
10
+
11
+ ## [3.3.0](https://github.com/puppetlabs/beaker-pe/tree/3.3.0) (2024-06-21)
12
+
13
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/2.19.0...3.3.0)
14
+
15
+ ## [2.19.0](https://github.com/puppetlabs/beaker-pe/tree/2.19.0) (2024-06-21)
16
+
17
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/3.2.0...2.19.0)
18
+
19
+ **Implemented enhancements:**
20
+
21
+ - \(PE-38685\) Beaker 6 upgrade [\#281](https://github.com/puppetlabs/beaker-pe/pull/281) ([tlehman](https://github.com/tlehman))
22
+
23
+ ## [3.2.0](https://github.com/puppetlabs/beaker-pe/tree/3.2.0) (2024-06-11)
24
+
25
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/2.18.0...3.2.0)
26
+
27
+ ## [2.18.0](https://github.com/puppetlabs/beaker-pe/tree/2.18.0) (2024-06-11)
28
+
29
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/3.1.0...2.18.0)
30
+
31
+ **Implemented enhancements:**
32
+
33
+ - \(PE-38522\) Add install\_puppet\_agent\_pe\_promoted\_repo\_on [\#277](https://github.com/puppetlabs/beaker-pe/pull/277) ([tlehman](https://github.com/tlehman))
34
+
35
+ ## [3.1.0](https://github.com/puppetlabs/beaker-pe/tree/3.1.0) (2024-05-22)
36
+
37
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/2.17.0...3.1.0)
38
+
39
+ **Merged pull requests:**
40
+
41
+ - \(PE-37784\) Remove upper bound for beaker-puppet [\#273](https://github.com/puppetlabs/beaker-pe/pull/273) ([nmburgan](https://github.com/nmburgan))
42
+
43
+ ## [2.17.0](https://github.com/puppetlabs/beaker-pe/tree/2.17.0) (2024-04-10)
44
+
45
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/3.0.1...2.17.0)
46
+
47
+ ## [3.0.1](https://github.com/puppetlabs/beaker-pe/tree/3.0.1) (2024-04-10)
48
+
49
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/2.16.1...3.0.1)
50
+
51
+ ## [2.16.1](https://github.com/puppetlabs/beaker-pe/tree/2.16.1) (2024-03-19)
52
+
53
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/3.0.0...2.16.1)
6
54
 
7
55
  **Implemented enhancements:**
8
56
 
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- beaker-pe (3.2.0)
5
- beaker (>= 4.0, < 6)
4
+ beaker-pe (3.3.0)
5
+ beaker (>= 4.0, < 7)
6
6
  beaker-abs
7
7
  beaker-answers (~> 1.0)
8
8
  beaker-puppet (>= 1)
data/beaker-pe.gemspec CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |s|
32
32
  s.add_development_dependency 'thin'
33
33
 
34
34
  # Run time dependencies
35
- s.add_runtime_dependency 'beaker', '>= 4.0', '< 6'
35
+ s.add_runtime_dependency 'beaker', '>= 4.0', '< 7'
36
36
  s.add_runtime_dependency 'beaker-puppet', '>=1'
37
37
  s.add_runtime_dependency 'stringify-hash', '~> 0.0.0'
38
38
  s.add_runtime_dependency 'beaker-answers', '~> 1.0'
@@ -342,7 +342,7 @@ module Beaker
342
342
  extension = ".rpm"
343
343
  host.install_package_with_rpm("#{path}/#{filename}#{extension}")
344
344
  end
345
-
345
+
346
346
  #Determine the PE package to download/upload on a windows host, download/upload that package onto the host.
347
347
  #Assumed file name format: puppet-enterprise-3.3.0-rc1-559-g97f0833.msi
348
348
  # @param [Host] host The windows host to download/upload and unpack PE onto
@@ -1076,7 +1076,11 @@ module Beaker
1076
1076
  pe_ver = host[:pe_ver] || opts[:pe_ver] || '4.0.0-rc1'
1077
1077
  opts = sanitize_opts(opts)
1078
1078
  opts[:download_url] =
1079
- "#{opts[:pe_promoted_builds_url]}/puppet-agent/#{pe_ver}/#{opts[:puppet_agent_version]}/repos"
1079
+ if Gem::Version.new(pe_ver) > Gem::Version.new('2023.7.0')
1080
+ "#{opts[:pe_promoted_builds_url]}/v2/agent/#{pe_ver}/#{opts[:puppet_agent_version]}/repos"
1081
+ else
1082
+ "#{opts[:pe_promoted_builds_url]}/puppet-agent/#{pe_ver}/#{opts[:puppet_agent_version]}/repos"
1083
+ end
1080
1084
  opts[:copy_base_local] ||= File.join('tmp', 'repo_configs')
1081
1085
  opts[:copy_dir_external] ||= host.external_copy_base
1082
1086
  opts[:puppet_collection] ||= puppet_collection_for(:puppet_agent, opts[:puppet_agent_version])
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '3.2.0'
6
+ STRING = '3.3.1'
7
7
  end
8
8
 
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-pe
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-11 00:00:00.000000000 Z
11
+ date: 2024-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -165,7 +165,7 @@ dependencies:
165
165
  version: '4.0'
166
166
  - - "<"
167
167
  - !ruby/object:Gem::Version
168
- version: '6'
168
+ version: '7'
169
169
  type: :runtime
170
170
  prerelease: false
171
171
  version_requirements: !ruby/object:Gem::Requirement
@@ -175,7 +175,7 @@ dependencies:
175
175
  version: '4.0'
176
176
  - - "<"
177
177
  - !ruby/object:Gem::Version
178
- version: '6'
178
+ version: '7'
179
179
  - !ruby/object:Gem::Dependency
180
180
  name: beaker-puppet
181
181
  requirement: !ruby/object:Gem::Requirement
@@ -323,7 +323,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
323
323
  - !ruby/object:Gem::Version
324
324
  version: '0'
325
325
  requirements: []
326
- rubygems_version: 3.3.27
326
+ rubygems_version: 3.4.19
327
327
  signing_key:
328
328
  specification_version: 4
329
329
  summary: Beaker PE DSL Helpers!