beaker-pe 3.3.0 → 3.4.0

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: 10177cdb0e10d7ced0328799af5f404a76cb797f2f9e6d5eb388290a445eb5c3
4
- data.tar.gz: e393d78f04fbb38da41232103567226fa2af7b900fbb17d54d1665ec1942bd51
3
+ metadata.gz: 3c0d8e3ba1b40ece8b4ce09269696496f8127b94cbd024a561be03c4329eeea8
4
+ data.tar.gz: efda94caab15d1fe1a46a7529053dc8c46f22a769740ead35be71e3ab57a1eab
5
5
  SHA512:
6
- metadata.gz: a3546c0b2d1a457ba94e7e7131e9924c12576ed97cb58fc50687899a3142adfefb3f562a1a8ff3fd7ab473177b5e9e9d9ed025fdc1a03f6e3e4225e5e2586561
7
- data.tar.gz: d106d7bc43f5134a55dcdcdc67f9ce89c3498af40174d5a5be47328d981ddea14d4716bd3cf933267b12aef3ea4d784aa9471679bbf2d690ed535fdaea45445d
6
+ metadata.gz: 9d5f4990007e80482f754be9733776583188b57065e5ce0dbd0e5db27aeaa20c86351098e7409fae2dc63627ee9094effb1953634096937678c06a24eb788ccc
7
+ data.tar.gz: d50685bbd3c0dec24a7205b5ad009b91a94cd5b8681680a7660d8c33d045b54f64c3de01a3bbb09e98e2b1d8b7a2cb86b9a5cf56b48f50e3ef58e5cedd2f049a
@@ -12,6 +12,7 @@ jobs:
12
12
  matrix:
13
13
  ruby-version:
14
14
  - '2.7'
15
+ - '3.2'
15
16
  steps:
16
17
  - uses: actions/checkout@v4
17
18
  - name: Set up Ruby
data/CHANGELOG.md CHANGED
@@ -1,8 +1,64 @@
1
1
  # Changelog
2
2
 
3
- ## [3.0.1](https://github.com/puppetlabs/beaker-pe/tree/3.0.1) (2024-04-08)
3
+ ## [3.4.0](https://github.com/puppetlabs/beaker-pe/tree/3.4.0) (2025-03-12)
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.1...3.4.0)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - \(PE-40143\) Add ruby 3.2 support [\#285](https://github.com/puppetlabs/beaker-pe/pull/285) ([tvpartytonight](https://github.com/tvpartytonight))
10
+
11
+ ## [3.3.1](https://github.com/puppetlabs/beaker-pe/tree/3.3.1) (2024-12-05)
12
+
13
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/3.3.0...3.3.1)
14
+
15
+ **Implemented enhancements:**
16
+
17
+ - \(maint\): Added support for v2 agent download url [\#283](https://github.com/puppetlabs/beaker-pe/pull/283) ([span786](https://github.com/span786))
18
+
19
+ ## [3.3.0](https://github.com/puppetlabs/beaker-pe/tree/3.3.0) (2024-06-21)
20
+
21
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/2.19.0...3.3.0)
22
+
23
+ ## [2.19.0](https://github.com/puppetlabs/beaker-pe/tree/2.19.0) (2024-06-21)
24
+
25
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/3.2.0...2.19.0)
26
+
27
+ **Implemented enhancements:**
28
+
29
+ - \(PE-38685\) Beaker 6 upgrade [\#281](https://github.com/puppetlabs/beaker-pe/pull/281) ([tlehman](https://github.com/tlehman))
30
+
31
+ ## [3.2.0](https://github.com/puppetlabs/beaker-pe/tree/3.2.0) (2024-06-11)
32
+
33
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/2.18.0...3.2.0)
34
+
35
+ ## [2.18.0](https://github.com/puppetlabs/beaker-pe/tree/2.18.0) (2024-06-11)
36
+
37
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/3.1.0...2.18.0)
38
+
39
+ **Implemented enhancements:**
40
+
41
+ - \(PE-38522\) Add install\_puppet\_agent\_pe\_promoted\_repo\_on [\#277](https://github.com/puppetlabs/beaker-pe/pull/277) ([tlehman](https://github.com/tlehman))
42
+
43
+ ## [3.1.0](https://github.com/puppetlabs/beaker-pe/tree/3.1.0) (2024-05-22)
44
+
45
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/2.17.0...3.1.0)
46
+
47
+ **Merged pull requests:**
48
+
49
+ - \(PE-37784\) Remove upper bound for beaker-puppet [\#273](https://github.com/puppetlabs/beaker-pe/pull/273) ([nmburgan](https://github.com/nmburgan))
50
+
51
+ ## [2.17.0](https://github.com/puppetlabs/beaker-pe/tree/2.17.0) (2024-04-10)
52
+
53
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/3.0.1...2.17.0)
54
+
55
+ ## [3.0.1](https://github.com/puppetlabs/beaker-pe/tree/3.0.1) (2024-04-10)
56
+
57
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/2.16.1...3.0.1)
58
+
59
+ ## [2.16.1](https://github.com/puppetlabs/beaker-pe/tree/2.16.1) (2024-03-19)
60
+
61
+ [Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/3.0.0...2.16.1)
6
62
 
7
63
  **Implemented enhancements:**
8
64
 
data/Gemfile CHANGED
@@ -22,6 +22,6 @@ gem "scooter", *location_for(ENV['SCOOTER_VERSION'] || '~> 4.3')
22
22
 
23
23
  gem 'deep_merge'
24
24
 
25
- if File.exists? "#{__FILE__}.local"
25
+ if File.exist? "#{__FILE__}.local"
26
26
  eval(File.read("#{__FILE__}.local"), binding)
27
27
  end
@@ -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])
@@ -17,7 +17,7 @@ module Beaker
17
17
  def self.load_pe_version dist_dir, version_file
18
18
  version = nil
19
19
  begin
20
- open("#{dist_dir}/#{version_file}") do |file|
20
+ URI.open("#{dist_dir}/#{version_file}") do |file|
21
21
  while line = file.gets
22
22
  if /(\w.*)/ =~ line then
23
23
  version = $1.strip
@@ -3,7 +3,7 @@ module Beaker
3
3
  module PE
4
4
 
5
5
  module Version
6
- STRING = '3.3.0'
6
+ STRING = '3.4.0'
7
7
  end
8
8
 
9
9
  end
@@ -2061,7 +2061,7 @@ describe ClassMixedWithDSLInstallUtils do
2061
2061
 
2062
2062
  it 'installs agent on agent hosts' do
2063
2063
  agents = [agent, agent]
2064
- expect(subject).to receive(:block_on).with(agents, :run_in_parallel => true).twice
2064
+ expect(subject).to receive(:block_on).with(agents, { run_in_parallel: true }).twice
2065
2065
  subject.install_agents_only_on(agents, opts)
2066
2066
  end
2067
2067
 
@@ -36,7 +36,7 @@ describe ClassPEClientToolsMixedWithPatterns do
36
36
  'pe-client-tools',
37
37
  opts[:pe_client_tools_sha],
38
38
  '/tmp/repo_configs',
39
- dev_builds_url: 'http://builds.delivery.puppetlabs.net'
39
+ { dev_builds_url: 'http://builds.delivery.puppetlabs.net' }
40
40
  )
41
41
  expect(host).to receive(:install_package).with("pe-client-tools")
42
42
 
@@ -51,7 +51,7 @@ describe ClassPEClientToolsMixedWithPatterns do
51
51
  'pe-client-tools',
52
52
  tag_opts[:pe_client_tools_version],
53
53
  '/tmp/repo_configs',
54
- dev_builds_url: 'http://builds.delivery.puppetlabs.net'
54
+ { dev_builds_url: 'http://builds.delivery.puppetlabs.net' }
55
55
  )
56
56
  expect(host).to receive(:install_package).with("pe-client-tools")
57
57
 
@@ -69,7 +69,7 @@ describe ClassPEClientToolsMixedWithPatterns do
69
69
  'pe-client-tools',
70
70
  opts[:pe_client_tools_sha],
71
71
  '/tmp/repo_configs',
72
- dev_builds_url: 'http://builds.delivery.puppetlabs.net'
72
+ { dev_builds_url: 'http://builds.delivery.puppetlabs.net' }
73
73
  )
74
74
  expect(host).to receive(:install_package).with('pe-client-tools')
75
75
 
@@ -84,7 +84,7 @@ describe ClassPEClientToolsMixedWithPatterns do
84
84
  'pe-client-tools',
85
85
  tag_opts[:pe_client_tools_version],
86
86
  '/tmp/repo_configs',
87
- dev_builds_url: 'http://builds.delivery.puppetlabs.net'
87
+ { dev_builds_url: 'http://builds.delivery.puppetlabs.net' }
88
88
  )
89
89
  expect(host).to receive(:install_package).with('pe-client-tools')
90
90
 
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.3.0
4
+ version: 3.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppetlabs
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-06-21 00:00:00.000000000 Z
11
+ date: 2025-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -267,7 +267,6 @@ files:
267
267
  - CHANGELOG.md
268
268
  - CODEOWNERS
269
269
  - Gemfile
270
- - Gemfile.lock
271
270
  - HISTORY.md
272
271
  - LICENSE
273
272
  - PULL_REQUEST_TEMPLATE.md
@@ -308,7 +307,7 @@ homepage: https://github.com/puppetlabs/beaker-pe
308
307
  licenses:
309
308
  - Apache2
310
309
  metadata: {}
311
- post_install_message:
310
+ post_install_message:
312
311
  rdoc_options: []
313
312
  require_paths:
314
313
  - lib
@@ -323,8 +322,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
323
322
  - !ruby/object:Gem::Version
324
323
  version: '0'
325
324
  requirements: []
326
- rubygems_version: 3.3.27
327
- signing_key:
325
+ rubygems_version: 3.5.22
326
+ signing_key:
328
327
  specification_version: 4
329
328
  summary: Beaker PE DSL Helpers!
330
329
  test_files: []
data/Gemfile.lock DELETED
@@ -1,222 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- beaker-pe (3.3.0)
5
- beaker (>= 4.0, < 7)
6
- beaker-abs
7
- beaker-answers (~> 1.0)
8
- beaker-puppet (>= 1)
9
- beaker-vmpooler (~> 1.0)
10
- stringify-hash (~> 0.0.0)
11
-
12
- GEM
13
- remote: https://rubygems.org/
14
- specs:
15
- activesupport (7.1.3.2)
16
- base64
17
- bigdecimal
18
- concurrent-ruby (~> 1.0, >= 1.0.2)
19
- connection_pool (>= 2.2.5)
20
- drb
21
- i18n (>= 1.6, < 2)
22
- minitest (>= 5.1)
23
- mutex_m
24
- tzinfo (~> 2.0)
25
- ansi (1.5.0)
26
- ast (2.4.2)
27
- base64 (0.2.0)
28
- bcrypt_pbkdf (1.1.0)
29
- beaker (4.41.2)
30
- beaker-hostgenerator
31
- ed25519 (~> 1.0)
32
- hocon (~> 1.0)
33
- in-parallel (>= 0.1, < 2)
34
- inifile (~> 3.0)
35
- minitar (~> 0.6)
36
- minitest (~> 5.4)
37
- net-scp (>= 1.2, < 5.0)
38
- net-ssh (>= 5.0)
39
- rexml
40
- rsync (~> 1.0.9)
41
- stringify-hash (~> 0.0)
42
- thor (>= 1.0.1, < 2.0)
43
- beaker-abs (0.11.0)
44
- bcrypt_pbkdf (>= 1.0, < 2.0)
45
- beaker (~> 4.0)
46
- ed25519 (>= 1.2, < 2.0)
47
- vmfloaty (>= 1.0, < 2)
48
- beaker-answers (1.0.0)
49
- hocon (~> 1.0)
50
- require_all (>= 1.3.2, < 3.1.0)
51
- stringify-hash (~> 0.0.0)
52
- beaker-hostgenerator (2.9.1)
53
- deep_merge (~> 1.0)
54
- beaker-puppet (2.0.0)
55
- beaker (~> 4.1)
56
- oga (~> 3.4)
57
- beaker-vmpooler (1.4.0)
58
- stringify-hash (~> 0.0.0)
59
- bigdecimal (3.1.6)
60
- coderay (1.1.3)
61
- commander (4.6.0)
62
- highline (~> 2.0.0)
63
- concurrent-ruby (1.2.3)
64
- connection_pool (2.4.1)
65
- daemons (1.4.1)
66
- deep_merge (1.2.2)
67
- diff-lcs (1.5.1)
68
- docile (1.4.0)
69
- domain_name (0.6.20240107)
70
- drb (2.2.0)
71
- ruby2_keywords
72
- ed25519 (1.3.0)
73
- eventmachine (1.2.7)
74
- fakefs (2.5.0)
75
- faraday (1.10.3)
76
- faraday-em_http (~> 1.0)
77
- faraday-em_synchrony (~> 1.0)
78
- faraday-excon (~> 1.1)
79
- faraday-httpclient (~> 1.0)
80
- faraday-multipart (~> 1.0)
81
- faraday-net_http (~> 1.0)
82
- faraday-net_http_persistent (~> 1.0)
83
- faraday-patron (~> 1.0)
84
- faraday-rack (~> 1.0)
85
- faraday-retry (~> 1.0)
86
- ruby2_keywords (>= 0.0.4)
87
- faraday-cookie_jar (0.0.7)
88
- faraday (>= 0.8.0)
89
- http-cookie (~> 1.0.0)
90
- faraday-em_http (1.0.0)
91
- faraday-em_synchrony (1.0.0)
92
- faraday-excon (1.1.0)
93
- faraday-httpclient (1.0.1)
94
- faraday-multipart (1.0.4)
95
- multipart-post (~> 2)
96
- faraday-net_http (1.0.1)
97
- faraday-net_http_persistent (1.2.0)
98
- faraday-patron (1.0.0)
99
- faraday-rack (1.0.0)
100
- faraday-retry (1.0.3)
101
- faraday_middleware (1.2.0)
102
- faraday (~> 1.0)
103
- highline (2.0.3)
104
- hocon (1.4.0)
105
- http-cookie (1.0.5)
106
- domain_name (~> 0.5)
107
- i18n (1.14.1)
108
- concurrent-ruby (~> 1.0)
109
- in-parallel (1.0.1)
110
- inifile (3.0.0)
111
- iniparser (1.0.1)
112
- json (2.7.1)
113
- kramdown (2.4.0)
114
- rexml
115
- logutils (0.6.1)
116
- markdown (1.2.0)
117
- kramdown (>= 1.5.0)
118
- props (>= 1.1.2)
119
- textutils (>= 0.10.0)
120
- method_source (1.0.0)
121
- minitar (0.9)
122
- minitest (5.22.2)
123
- multipart-post (2.4.0)
124
- mutex_m (0.2.0)
125
- net-ldap (0.19.0)
126
- net-scp (4.0.0)
127
- net-ssh (>= 2.6.5, < 8.0.0)
128
- net-ssh (7.2.1)
129
- oga (3.4)
130
- ast
131
- ruby-ll (~> 2.1)
132
- power_assert (2.0.3)
133
- props (1.2.0)
134
- iniparser (>= 0.1.0)
135
- pry (0.14.2)
136
- coderay (~> 1.1)
137
- method_source (~> 1.0)
138
- rack (2.2.8.1)
139
- rake (13.1.0)
140
- require_all (3.0.0)
141
- rexml (3.2.6)
142
- rspec (3.13.0)
143
- rspec-core (~> 3.13.0)
144
- rspec-expectations (~> 3.13.0)
145
- rspec-mocks (~> 3.13.0)
146
- rspec-core (3.13.0)
147
- rspec-support (~> 3.13.0)
148
- rspec-expectations (3.13.0)
149
- diff-lcs (>= 1.2.0, < 2.0)
150
- rspec-support (~> 3.13.0)
151
- rspec-its (1.3.0)
152
- rspec-core (>= 3.0.0)
153
- rspec-expectations (>= 3.0.0)
154
- rspec-mocks (3.13.0)
155
- diff-lcs (>= 1.2.0, < 2.0)
156
- rspec-support (~> 3.13.0)
157
- rspec-support (3.13.0)
158
- rsync (1.0.9)
159
- ruby-ll (2.1.3)
160
- ansi
161
- ast
162
- ruby2_keywords (0.0.5)
163
- rubyzip (2.3.2)
164
- scooter (4.5.4)
165
- beaker
166
- faraday
167
- faraday-cookie_jar (>= 0.0.7)
168
- faraday_middleware (~> 1.2)
169
- json
170
- net-ldap (~> 0.16)
171
- test-unit
172
- simplecov (0.22.0)
173
- docile (~> 1.1)
174
- simplecov-html (~> 0.11)
175
- simplecov_json_formatter (~> 0.1)
176
- simplecov-html (0.12.3)
177
- simplecov_json_formatter (0.1.4)
178
- stringify-hash (0.0.2)
179
- test-unit (3.6.1)
180
- power_assert
181
- textutils (1.4.0)
182
- activesupport
183
- logutils (>= 0.6.1)
184
- props (>= 1.1.2)
185
- rubyzip (>= 1.0.0)
186
- thin (1.8.2)
187
- daemons (~> 1.0, >= 1.0.9)
188
- eventmachine (~> 1.0, >= 1.0.4)
189
- rack (>= 1, < 3)
190
- thor (1.3.0)
191
- tzinfo (2.0.6)
192
- concurrent-ruby (~> 1.0)
193
- vmfloaty (1.8.1)
194
- commander (>= 4.4.3, < 4.7.0)
195
- faraday (~> 1.5, >= 1.5.1)
196
- yard (0.9.36)
197
-
198
- PLATFORMS
199
- aarch64-linux
200
- ruby
201
- x86_64-linux
202
-
203
- DEPENDENCIES
204
- activesupport (~> 7.0)
205
- beaker (~> 4.0)
206
- beaker-abs (~> 0.8)
207
- beaker-pe!
208
- beaker-vmpooler (~> 1.3)
209
- deep_merge
210
- fakefs (~> 2.4, < 2.6.0)
211
- markdown
212
- pry (~> 0.10)
213
- rake (~> 13.1.0)
214
- rspec (~> 3.0)
215
- rspec-its
216
- scooter (~> 4.3)
217
- simplecov (= 0.22.0)
218
- thin
219
- yard
220
-
221
- BUNDLED WITH
222
- 2.4.22