beaker-pe 2.17.0 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +21 -0
- data/CHANGELOG.md +0 -16
- data/Gemfile.lock +42 -46
- data/README.md +6 -1
- data/beaker-pe.gemspec +2 -2
- data/lib/beaker-pe/install/pe_utils.rb +2 -24
- data/lib/beaker-pe/version.rb +1 -1
- data/release-prep +2 -2
- data/spec/beaker-pe/install/pe_utils_spec.rb +4 -30
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9f0ff78ec64afd7941966459c4af7aa09ec2fe632314a5e31c1c41ede5a9876
|
4
|
+
data.tar.gz: cf2ab7e224f2d468889f97c750b51f655fa35758331fe2d6264baf8afc9e8894
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e9afe28fa995067d31c0aa18189a9728f6f837876b6ebdda59522c4203ae26e4f7047939df45581eaa8dcdb670523f2eab0dbf202720f0a531520e802694a90
|
7
|
+
data.tar.gz: 46d3f8dcfd72fff77f86b57f27ccf91e8c3903185da4059b55f95564109a941b37c7f657b912b8c80c127594394dda32d8b9559b214475db4aa07ea737364021
|
@@ -36,6 +36,27 @@ jobs:
|
|
36
36
|
return response.tag_name
|
37
37
|
result-encoding: string
|
38
38
|
|
39
|
+
- name: Generate Changelog
|
40
|
+
uses: docker://githubchangeloggenerator/github-changelog-generator:1.16.2
|
41
|
+
with:
|
42
|
+
args: >-
|
43
|
+
--future-release ${{ steps.nv.outputs.version }}
|
44
|
+
env:
|
45
|
+
CHANGELOG_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
46
|
+
|
47
|
+
- name: Validate Changelog
|
48
|
+
run : |
|
49
|
+
set -e
|
50
|
+
if output=$(git status --porcelain) && [ ! -z "$output" ]; then
|
51
|
+
echo "Here is the current git status:"
|
52
|
+
git status
|
53
|
+
echo
|
54
|
+
echo "The following changes were detected:"
|
55
|
+
git --no-pager diff
|
56
|
+
echo "Uncommitted PRs found in the changelog. Please submit a release prep PR of changes after running './release-prep'"
|
57
|
+
exit 1
|
58
|
+
fi
|
59
|
+
|
39
60
|
- name: Generate Release Notes
|
40
61
|
uses: docker://githubchangeloggenerator/github-changelog-generator:1.16.2
|
41
62
|
with:
|
data/CHANGELOG.md
CHANGED
@@ -1,21 +1,5 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [2.16.1](https://github.com/puppetlabs/beaker-pe/tree/2.16.1) (2024-04-04)
|
4
|
-
|
5
|
-
[Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/3.0.0...2.16.1)
|
6
|
-
|
7
|
-
**Implemented enhancements:**
|
8
|
-
|
9
|
-
- \(PE-37704\) Allow for SLES-11 \(Intel\) builds to be installed in PE 2021.7.x for testing [\#259](https://github.com/puppetlabs/beaker-pe/pull/259) ([shubhamshinde360](https://github.com/shubhamshinde360))
|
10
|
-
|
11
|
-
**Merged pull requests:**
|
12
|
-
|
13
|
-
- Bump yard from 0.9.35 to 0.9.36 [\#258](https://github.com/puppetlabs/beaker-pe/pull/258) ([dependabot[bot]](https://github.com/apps/dependabot))
|
14
|
-
- Bump rack from 2.2.8 to 2.2.8.1 [\#257](https://github.com/puppetlabs/beaker-pe/pull/257) ([dependabot[bot]](https://github.com/apps/dependabot))
|
15
|
-
- Bump yard from 0.9.34 to 0.9.35 [\#256](https://github.com/puppetlabs/beaker-pe/pull/256) ([dependabot[bot]](https://github.com/apps/dependabot))
|
16
|
-
- Bump activesupport from 7.1.3 to 7.1.3.2 [\#255](https://github.com/puppetlabs/beaker-pe/pull/255) ([dependabot[bot]](https://github.com/apps/dependabot))
|
17
|
-
- Bump scooter from 4.5.0 to 4.5.4 [\#254](https://github.com/puppetlabs/beaker-pe/pull/254) ([dependabot[bot]](https://github.com/apps/dependabot))
|
18
|
-
|
19
3
|
## [3.0.0](https://github.com/puppetlabs/beaker-pe/tree/3.0.0) (2024-02-07)
|
20
4
|
|
21
5
|
[Full Changelog](https://github.com/puppetlabs/beaker-pe/compare/2.16.0...3.0.0)
|
data/Gemfile.lock
CHANGED
@@ -1,18 +1,18 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
beaker-pe (
|
4
|
+
beaker-pe (3.0.0)
|
5
5
|
beaker (>= 4.0, < 6)
|
6
6
|
beaker-abs
|
7
|
-
beaker-answers (~>
|
8
|
-
beaker-puppet (>= 1)
|
7
|
+
beaker-answers (~> 1.0)
|
8
|
+
beaker-puppet (>= 1, < 3)
|
9
9
|
beaker-vmpooler (~> 1.0)
|
10
10
|
stringify-hash (~> 0.0.0)
|
11
11
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
activesupport (7.1.
|
15
|
+
activesupport (7.1.3)
|
16
16
|
base64
|
17
17
|
bigdecimal
|
18
18
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -24,9 +24,9 @@ GEM
|
|
24
24
|
tzinfo (~> 2.0)
|
25
25
|
ansi (1.5.0)
|
26
26
|
ast (2.4.2)
|
27
|
-
base64 (0.
|
27
|
+
base64 (0.2.0)
|
28
28
|
bcrypt_pbkdf (1.1.0)
|
29
|
-
beaker (4.
|
29
|
+
beaker (4.41.2)
|
30
30
|
beaker-hostgenerator
|
31
31
|
ed25519 (~> 1.0)
|
32
32
|
hocon (~> 1.0)
|
@@ -45,30 +45,29 @@ GEM
|
|
45
45
|
beaker (~> 4.0)
|
46
46
|
ed25519 (>= 1.2, < 2.0)
|
47
47
|
vmfloaty (>= 1.0, < 2)
|
48
|
-
beaker-answers (0.
|
48
|
+
beaker-answers (1.0.0)
|
49
49
|
hocon (~> 1.0)
|
50
50
|
require_all (>= 1.3.2, < 3.1.0)
|
51
51
|
stringify-hash (~> 0.0.0)
|
52
|
-
beaker-hostgenerator (2.
|
52
|
+
beaker-hostgenerator (2.9.1)
|
53
53
|
deep_merge (~> 1.0)
|
54
54
|
beaker-puppet (2.0.0)
|
55
55
|
beaker (~> 4.1)
|
56
56
|
oga (~> 3.4)
|
57
57
|
beaker-vmpooler (1.4.0)
|
58
58
|
stringify-hash (~> 0.0.0)
|
59
|
-
bigdecimal (3.1.
|
59
|
+
bigdecimal (3.1.6)
|
60
60
|
coderay (1.1.3)
|
61
61
|
commander (4.6.0)
|
62
62
|
highline (~> 2.0.0)
|
63
|
-
concurrent-ruby (1.2.
|
63
|
+
concurrent-ruby (1.2.3)
|
64
64
|
connection_pool (2.4.1)
|
65
65
|
daemons (1.4.1)
|
66
66
|
deep_merge (1.2.2)
|
67
|
-
diff-lcs (1.5.
|
67
|
+
diff-lcs (1.5.1)
|
68
68
|
docile (1.4.0)
|
69
|
-
domain_name (0.
|
70
|
-
|
71
|
-
drb (2.1.1)
|
69
|
+
domain_name (0.6.20240107)
|
70
|
+
drb (2.2.0)
|
72
71
|
ruby2_keywords
|
73
72
|
ed25519 (1.3.0)
|
74
73
|
eventmachine (1.2.7)
|
@@ -107,10 +106,10 @@ GEM
|
|
107
106
|
domain_name (~> 0.5)
|
108
107
|
i18n (1.14.1)
|
109
108
|
concurrent-ruby (~> 1.0)
|
110
|
-
in-parallel (1.0.
|
109
|
+
in-parallel (1.0.1)
|
111
110
|
inifile (3.0.0)
|
112
111
|
iniparser (1.0.1)
|
113
|
-
json (2.
|
112
|
+
json (2.7.1)
|
114
113
|
kramdown (2.4.0)
|
115
114
|
rexml
|
116
115
|
logutils (0.6.1)
|
@@ -120,13 +119,13 @@ GEM
|
|
120
119
|
textutils (>= 0.10.0)
|
121
120
|
method_source (1.0.0)
|
122
121
|
minitar (0.9)
|
123
|
-
minitest (5.
|
122
|
+
minitest (5.21.2)
|
124
123
|
multipart-post (2.3.0)
|
125
|
-
mutex_m (0.
|
126
|
-
net-ldap (0.
|
124
|
+
mutex_m (0.2.0)
|
125
|
+
net-ldap (0.19.0)
|
127
126
|
net-scp (4.0.0)
|
128
127
|
net-ssh (>= 2.6.5, < 8.0.0)
|
129
|
-
net-ssh (7.2.
|
128
|
+
net-ssh (7.2.1)
|
130
129
|
oga (3.4)
|
131
130
|
ast
|
132
131
|
ruby-ll (~> 2.1)
|
@@ -136,39 +135,39 @@ GEM
|
|
136
135
|
pry (0.14.2)
|
137
136
|
coderay (~> 1.1)
|
138
137
|
method_source (~> 1.0)
|
139
|
-
rack (2.2.
|
138
|
+
rack (2.2.8)
|
140
139
|
rake (13.1.0)
|
141
140
|
require_all (3.0.0)
|
142
141
|
rexml (3.2.6)
|
143
|
-
rspec (3.
|
144
|
-
rspec-core (~> 3.
|
145
|
-
rspec-expectations (~> 3.
|
146
|
-
rspec-mocks (~> 3.
|
147
|
-
rspec-core (3.
|
148
|
-
rspec-support (~> 3.
|
149
|
-
rspec-expectations (3.
|
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)
|
150
149
|
diff-lcs (>= 1.2.0, < 2.0)
|
151
|
-
rspec-support (~> 3.
|
150
|
+
rspec-support (~> 3.13.0)
|
152
151
|
rspec-its (1.3.0)
|
153
152
|
rspec-core (>= 3.0.0)
|
154
153
|
rspec-expectations (>= 3.0.0)
|
155
|
-
rspec-mocks (3.
|
154
|
+
rspec-mocks (3.13.0)
|
156
155
|
diff-lcs (>= 1.2.0, < 2.0)
|
157
|
-
rspec-support (~> 3.
|
158
|
-
rspec-support (3.
|
156
|
+
rspec-support (~> 3.13.0)
|
157
|
+
rspec-support (3.13.0)
|
159
158
|
rsync (1.0.9)
|
160
|
-
ruby-ll (2.1.
|
159
|
+
ruby-ll (2.1.3)
|
161
160
|
ansi
|
162
161
|
ast
|
163
162
|
ruby2_keywords (0.0.5)
|
164
163
|
rubyzip (2.3.2)
|
165
|
-
scooter (4.
|
166
|
-
beaker
|
167
|
-
faraday
|
168
|
-
faraday-cookie_jar (
|
164
|
+
scooter (4.5.0)
|
165
|
+
beaker
|
166
|
+
faraday
|
167
|
+
faraday-cookie_jar (>= 0.0.7)
|
169
168
|
faraday_middleware (~> 1.2)
|
170
|
-
json
|
171
|
-
net-ldap (~> 0.16
|
169
|
+
json
|
170
|
+
net-ldap (~> 0.16)
|
172
171
|
test-unit
|
173
172
|
simplecov (0.22.0)
|
174
173
|
docile (~> 1.1)
|
@@ -177,7 +176,7 @@ GEM
|
|
177
176
|
simplecov-html (0.12.3)
|
178
177
|
simplecov_json_formatter (0.1.4)
|
179
178
|
stringify-hash (0.0.2)
|
180
|
-
test-unit (3.
|
179
|
+
test-unit (3.6.1)
|
181
180
|
power_assert
|
182
181
|
textutils (1.4.0)
|
183
182
|
activesupport
|
@@ -188,13 +187,10 @@ GEM
|
|
188
187
|
daemons (~> 1.0, >= 1.0.9)
|
189
188
|
eventmachine (~> 1.0, >= 1.0.4)
|
190
189
|
rack (>= 1, < 3)
|
191
|
-
thor (1.
|
190
|
+
thor (1.3.0)
|
192
191
|
tzinfo (2.0.6)
|
193
192
|
concurrent-ruby (~> 1.0)
|
194
|
-
|
195
|
-
unf_ext
|
196
|
-
unf_ext (0.0.8.2)
|
197
|
-
vmfloaty (1.8.0)
|
193
|
+
vmfloaty (1.8.1)
|
198
194
|
commander (>= 4.4.3, < 4.7.0)
|
199
195
|
faraday (~> 1.5, >= 1.5.1)
|
200
196
|
yard (0.9.34)
|
@@ -223,4 +219,4 @@ DEPENDENCIES
|
|
223
219
|
yard
|
224
220
|
|
225
221
|
BUNDLED WITH
|
226
|
-
2.
|
222
|
+
2.3.23
|
data/README.md
CHANGED
@@ -66,7 +66,7 @@ with spec testing by running the `test:spec:coverage` rake task.
|
|
66
66
|
|
67
67
|
Acceptance tests live in the `acceptance/tests` folder. These are Beaker tests,
|
68
68
|
& are dependent on having Beaker installed. Note that this will happen with a
|
69
|
-
`bundle install` execution, but can be avoided if you're not looking to run
|
69
|
+
`bundle install` execution, but can be avoided if you're not looking to run
|
70
70
|
acceptance tests by ignoring the `acceptance_testing` gem group.
|
71
71
|
|
72
72
|
You can run the acceptance testing suite by invoking the `test:acceptance` rake
|
@@ -77,6 +77,11 @@ you'd like to provide your own hosts file, set the `CONFIG` environment variable
|
|
77
77
|
|
78
78
|
## Releasing
|
79
79
|
|
80
|
+
Prerequisites (without these steps you will almost certainly hit API rate limits):
|
81
|
+
|
82
|
+
1. Generate [an API token](https://github.com/settings/tokens) with repository permissions and authorize the Puppet organization after generating.
|
83
|
+
2. Export that token as `CHANGELOG_GITHUB_TOKEN`
|
84
|
+
|
80
85
|
Open a release prep PR and run the release action:
|
81
86
|
|
82
87
|
1. Bump the "version" parameter in `lib/beaker-pe/version.rb` appropriately based merged pull requests since the last release.
|
data/beaker-pe.gemspec
CHANGED
@@ -33,9 +33,9 @@ Gem::Specification.new do |s|
|
|
33
33
|
|
34
34
|
# Run time dependencies
|
35
35
|
s.add_runtime_dependency 'beaker', '>= 4.0', '< 6'
|
36
|
-
s.add_runtime_dependency 'beaker-puppet', '>=1'
|
36
|
+
s.add_runtime_dependency 'beaker-puppet', '>=1', '<3'
|
37
37
|
s.add_runtime_dependency 'stringify-hash', '~> 0.0.0'
|
38
|
-
s.add_runtime_dependency 'beaker-answers', '~>
|
38
|
+
s.add_runtime_dependency 'beaker-answers', '~> 1.0'
|
39
39
|
s.add_runtime_dependency 'beaker-abs'
|
40
40
|
s.add_runtime_dependency 'beaker-vmpooler', '~> 1.0'
|
41
41
|
|
@@ -325,24 +325,6 @@ module Beaker
|
|
325
325
|
end
|
326
326
|
end
|
327
327
|
|
328
|
-
# Determine the build package to download on a sles-11 (Intel) host, install that package onto the host.
|
329
|
-
# Assumed file name format: puppet-agent-7.29.1.26.gf344eeefa-1.sles11.x86_64.rpm.
|
330
|
-
# This method should be called after puppet is installed on the master since it relies on the master
|
331
|
-
# telling it the puppet agent version to form the download URL.
|
332
|
-
# @param [Host] host The sles-11 host to download and install the package on.
|
333
|
-
# @param [Hash{Symbol=>Symbol, String}] opts The options
|
334
|
-
# @api private
|
335
|
-
def install_rpm_on_sles11_host(host, puppet_agent_ver, opts)
|
336
|
-
# Since sles11 builds are not available in PE, download from agent-downloads.
|
337
|
-
agent_downloads_url = "http://agent-downloads.delivery.puppetlabs.net/puppet-agent"
|
338
|
-
master_aio_version = puppet_fact(master, 'aio_agent_build')
|
339
|
-
stream = opts[:puppet_collection] || "puppet#{puppet_agent_ver[0]}"
|
340
|
-
path = "#{agent_downloads_url}/#{puppet_agent_ver}/repos/sles/11/#{stream}/x86_64"
|
341
|
-
filename = "puppet-agent-#{master_aio_version}-1.sles11.x86_64"
|
342
|
-
extension = ".rpm"
|
343
|
-
host.install_package_with_rpm("#{path}/#{filename}#{extension}")
|
344
|
-
end
|
345
|
-
|
346
328
|
#Determine the PE package to download/upload on a windows host, download/upload that package onto the host.
|
347
329
|
#Assumed file name format: puppet-enterprise-3.3.0-rc1-559-g97f0833.msi
|
348
330
|
# @param [Host] host The windows host to download/upload and unpack PE onto
|
@@ -938,12 +920,8 @@ module Beaker
|
|
938
920
|
:puppet_collection => host[:puppet_collection] || opts[:puppet_collection],
|
939
921
|
:pe_promoted_builds_url => host[:pe_promoted_builds_url] || opts[:pe_promoted_builds_url]
|
940
922
|
}
|
941
|
-
if
|
942
|
-
|
943
|
-
else
|
944
|
-
install_params.delete(:pe_promoted_builds_url) if install_params[:pe_promoted_builds_url].nil?
|
945
|
-
install_puppet_agent_pe_promoted_repo_on(host, install_params)
|
946
|
-
end
|
923
|
+
install_params.delete(:pe_promoted_builds_url) if install_params[:pe_promoted_builds_url].nil?
|
924
|
+
install_puppet_agent_pe_promoted_repo_on(host, install_params)
|
947
925
|
# 1 since no certificate found and waitforcert disabled
|
948
926
|
acceptable_exit_codes = [0, 1]
|
949
927
|
acceptable_exit_codes << 2 if opts[:type] == :upgrade
|
data/lib/beaker-pe/version.rb
CHANGED
data/release-prep
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
#!/usr/bin/env bash
|
2
2
|
|
3
3
|
# bundle install
|
4
|
-
docker run -
|
4
|
+
docker run -t --rm \
|
5
5
|
-v $(pwd):/app \
|
6
6
|
ruby:2.7-slim-bullseye \
|
7
7
|
/bin/bash -c 'apt-get update -qq && apt-get install -y --no-install-recommends build-essential git make && cd /app && gem install bundler && bundle install --jobs 3; echo "LOCK_FILE_UPDATE_EXIT_CODE=$?"'
|
8
8
|
|
9
9
|
# Update Changelog
|
10
|
-
docker run -
|
10
|
+
docker run -t --rm -e CHANGELOG_GITHUB_TOKEN -v $(pwd):/usr/local/src/your-app \
|
11
11
|
githubchangeloggenerator/github-changelog-generator:1.16.2 \
|
12
12
|
github_changelog_generator --future-release $(grep STRING lib/beaker-pe/version.rb |rev |cut -d "'" -f2 |rev)
|
@@ -30,14 +30,13 @@ describe ClassMixedWithDSLInstallUtils do
|
|
30
30
|
let(:basic_hosts) { make_hosts( { :pe_ver => '3.0',
|
31
31
|
:platform => 'linux',
|
32
32
|
:roles => [ 'agent' ],
|
33
|
-
:type => 'pe'},
|
33
|
+
:type => 'pe'}, 4 ) }
|
34
34
|
let(:hosts) { basic_hosts[0][:roles] = ['master', 'database', 'dashboard']
|
35
35
|
basic_hosts[1][:platform] = 'windows'
|
36
36
|
basic_hosts[2][:platform] = 'osx-10.9-x86_64'
|
37
37
|
basic_hosts[3][:platform] = 'eos'
|
38
|
-
basic_hosts[4][:platform] = 'sles'
|
39
38
|
basic_hosts }
|
40
|
-
let(:hosts_sorted) { [ hosts[1], hosts[0], hosts[2], hosts[3]
|
39
|
+
let(:hosts_sorted) { [ hosts[1], hosts[0], hosts[2], hosts[3] ] }
|
41
40
|
let(:winhost) { make_host( 'winhost', { :platform => 'windows',
|
42
41
|
:pe_ver => '3.0',
|
43
42
|
:type => 'pe',
|
@@ -56,10 +55,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
56
55
|
:type => 'pe',
|
57
56
|
:working_dir => '/tmp',
|
58
57
|
:dist => 'puppet-enterprise-3.7.1-rc0-78-gffc958f-eos-4-i386' } ) }
|
59
|
-
|
60
|
-
:pe_ver => '3.0',
|
61
|
-
:type => 'pe',
|
62
|
-
:working_dir => '/tmp'} ) }
|
58
|
+
|
63
59
|
let(:lei_hosts) { make_hosts( { :pe_ver => '3.0',
|
64
60
|
:platform => 'linux',
|
65
61
|
:roles => [ 'agent' ],
|
@@ -1641,30 +1637,8 @@ describe ClassMixedWithDSLInstallUtils do
|
|
1641
1637
|
subject.do_install([])
|
1642
1638
|
end
|
1643
1639
|
|
1644
|
-
context "install rpm file in sles host" do
|
1645
|
-
let(:opts) {
|
1646
|
-
{ :puppet_collection => 'puppet7' }
|
1647
|
-
}
|
1648
|
-
let(:stream) { opts[:puppet_collection] }
|
1649
|
-
let(:puppet_agent_ver) { '7.29.1.26' }
|
1650
|
-
let(:agent_downloads_url) { "http://agent-downloads.delivery.puppetlabs.net/puppet-agent" }
|
1651
|
-
let(:master_version) { '7.29.1.26.gf344eeefa' }
|
1652
|
-
let(:path) { "#{agent_downloads_url}/#{puppet_agent_ver}/repos/sles/11/#{stream}/x86_64" }
|
1653
|
-
let(:filename) { "puppet-agent-#{master_version}-1.sles11.x86_64" }
|
1654
|
-
let(:extension) { '.rpm' }
|
1655
|
-
let(:url) { "#{path}/#{filename}#{extension}" }
|
1656
|
-
|
1657
|
-
it "generates the correct url to download the package" do
|
1658
|
-
allow( subject ).to receive( :puppet_fact ).and_return( master_version )
|
1659
|
-
allow( subject ).to receive( :master ).and_return( {} )
|
1660
|
-
|
1661
|
-
expect( hosts[4] ).to receive( :install_package_with_rpm ).with( url ).once
|
1662
|
-
subject.install_rpm_on_sles11_host(hosts[4], puppet_agent_ver, opts)
|
1663
|
-
end
|
1664
|
-
end
|
1665
|
-
|
1666
1640
|
it 'can perform a simple installation' do
|
1667
|
-
expect(subject).to receive(:get_mco_setting).and_return({})
|
1641
|
+
expect(subject).to receive(:get_mco_setting).and_return({})
|
1668
1642
|
allow( subject ).to receive( :verify_network_resources).with(hosts, nil)
|
1669
1643
|
allow( subject ).to receive( :on ).and_return( Beaker::Result.new( {}, '' ) )
|
1670
1644
|
allow( subject ).to receive( :fetch_pe ).and_return( true )
|
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:
|
4
|
+
version: 3.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppetlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
@@ -183,6 +183,9 @@ dependencies:
|
|
183
183
|
- - ">="
|
184
184
|
- !ruby/object:Gem::Version
|
185
185
|
version: '1'
|
186
|
+
- - "<"
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '3'
|
186
189
|
type: :runtime
|
187
190
|
prerelease: false
|
188
191
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -190,6 +193,9 @@ dependencies:
|
|
190
193
|
- - ">="
|
191
194
|
- !ruby/object:Gem::Version
|
192
195
|
version: '1'
|
196
|
+
- - "<"
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '3'
|
193
199
|
- !ruby/object:Gem::Dependency
|
194
200
|
name: stringify-hash
|
195
201
|
requirement: !ruby/object:Gem::Requirement
|
@@ -210,14 +216,14 @@ dependencies:
|
|
210
216
|
requirements:
|
211
217
|
- - "~>"
|
212
218
|
- !ruby/object:Gem::Version
|
213
|
-
version: '
|
219
|
+
version: '1.0'
|
214
220
|
type: :runtime
|
215
221
|
prerelease: false
|
216
222
|
version_requirements: !ruby/object:Gem::Requirement
|
217
223
|
requirements:
|
218
224
|
- - "~>"
|
219
225
|
- !ruby/object:Gem::Version
|
220
|
-
version: '
|
226
|
+
version: '1.0'
|
221
227
|
- !ruby/object:Gem::Dependency
|
222
228
|
name: beaker-abs
|
223
229
|
requirement: !ruby/object:Gem::Requirement
|
@@ -323,7 +329,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
323
329
|
- !ruby/object:Gem::Version
|
324
330
|
version: '0'
|
325
331
|
requirements: []
|
326
|
-
rubygems_version: 3.3.
|
332
|
+
rubygems_version: 3.3.26
|
327
333
|
signing_key:
|
328
334
|
specification_version: 4
|
329
335
|
summary: Beaker PE DSL Helpers!
|