beaker-pe 0.10.0 → 0.10.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 +8 -8
- data/HISTORY.md +31 -2
- data/lib/beaker-pe/install/pe_utils.rb +1 -1
- data/lib/beaker-pe/version.rb +1 -1
- data/spec/beaker-pe/install/pe_utils_spec.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MDE0YWNmOTg3ZGQ4MWRkNmMwYWM0NDE3YmI3MTA3MTM0NjUyMDc5YQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
NTA4YjMxMWM2YmQ2YzljYWY4YTA3ZTNjMDAzMzQyOTJjYjhhNDBhMw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NjRiNDFmNzUyMjI5NTY0MzhmM2E0YjhkMTI3Mjc4NTY5NzkwNWUzNDNiOWY3
|
|
10
|
+
NWY1NjcxMjIzYWY1Y2FiNWFkNWJjYjRhMDQyMzMwZTI5NjQyNDA2NDRjMjYy
|
|
11
|
+
ZmYzMzI5YmQyNDlhODM0YmFkMWYwZDE4ZmRiMGY0YTNhM2VlMWY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
N2I2YThjMzk0ODMxMjMwMzFhNzIxNDI1YjA3NmVlOTE4MmFmNGQ1YmRmYjM5
|
|
14
|
+
MGY5Zjk4Y2E5OTVjOTFiMGNhNjQ0MWE1ZDNhYjliMTgwNWZhMzM2NTAzMTA2
|
|
15
|
+
ZDEwZTBlMWE1NGQwYTUyNDdiZmJmN2M1ODZkNmQzNWNlZWMyOWQ=
|
data/HISTORY.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# default - History
|
|
2
2
|
## Tags
|
|
3
|
-
* [LATEST -
|
|
3
|
+
* [LATEST - 24 Aug, 2016 (a826414c)](#LATEST)
|
|
4
|
+
* [0.10.0 - 23 Aug, 2016 (b8eff18f)](#0.10.0)
|
|
4
5
|
* [0.9.0 - 15 Aug, 2016 (e29ed491)](#0.9.0)
|
|
5
6
|
* [0.8.0 - 2 Aug, 2016 (b40f583b)](#0.8.0)
|
|
6
7
|
* [0.7.0 - 19 Jul, 2016 (8256c0ac)](#0.7.0)
|
|
@@ -14,7 +15,35 @@
|
|
|
14
15
|
* [0.1.0 - 29 Feb, 2016 (4fc88d8c)](#0.1.0)
|
|
15
16
|
|
|
16
17
|
## Details
|
|
17
|
-
### <a name = "LATEST">LATEST -
|
|
18
|
+
### <a name = "LATEST">LATEST - 24 Aug, 2016 (a826414c)
|
|
19
|
+
|
|
20
|
+
* (GEM) update beaker-pe version to 0.10.1 (a826414c)
|
|
21
|
+
|
|
22
|
+
* Merge pull request #24 from kevpl/bkr922_bkr908_fix (baff3281)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
Merge pull request #24 from kevpl/bkr922_bkr908_fix
|
|
27
|
+
|
|
28
|
+
(BKR-922) fixed options reference for beaker-rspec
|
|
29
|
+
```
|
|
30
|
+
* (BKR-922) fixed options reference for beaker-rspec (bd232256)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
(BKR-922) fixed options reference for beaker-rspec
|
|
35
|
+
|
|
36
|
+
In BKR-908, code was added to make console timeout checking
|
|
37
|
+
configurable. This code relied on `@options` to get the
|
|
38
|
+
value from the global option. This works in beaker but not
|
|
39
|
+
in beaker-rspec, because `@options` is a TestCase instance
|
|
40
|
+
variable. The accessor `options` works in both, because it
|
|
41
|
+
is a TestCase accessor in beaker, and a similar method has
|
|
42
|
+
been added in beaker-rspec's [shim](https://github.com/puppetlabs/beaker-rspec/blob/master/lib/beaker-rspec/beaker_shim.rb#L26-L28).
|
|
43
|
+
```
|
|
44
|
+
### <a name = "0.10.0">0.10.0 - 23 Aug, 2016 (b8eff18f)
|
|
45
|
+
|
|
46
|
+
* (HISTORY) update beaker-pe history for gem release 0.10.0 (b8eff18f)
|
|
18
47
|
|
|
19
48
|
* (GEM) update beaker-pe version to 0.10.0 (1c8df4c3)
|
|
20
49
|
|
|
@@ -715,7 +715,7 @@ module Beaker
|
|
|
715
715
|
def check_console_status_endpoint(host)
|
|
716
716
|
return true if version_is_less(host['pe_ver'], '2015.2.0')
|
|
717
717
|
|
|
718
|
-
attempts_limit =
|
|
718
|
+
attempts_limit = options[:pe_console_status_attempts] || 9
|
|
719
719
|
step 'Check Console Status Endpoint' do
|
|
720
720
|
match = repeat_fibonacci_style_for(attempts_limit) do
|
|
721
721
|
output = on(host, "curl -s -k https://localhost:4433/status/v1/services --cert /etc/puppetlabs/puppet/ssl/certs/#{host}.pem --key /etc/puppetlabs/puppet/ssl/private_keys/#{host}.pem --cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem", :accept_all_exit_codes => true)
|
data/lib/beaker-pe/version.rb
CHANGED
|
@@ -1215,7 +1215,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
|
1215
1215
|
it 'allows the number of attempts to be configured via the global options' do
|
|
1216
1216
|
attempts = 37819
|
|
1217
1217
|
options = {:pe_console_status_attempts => attempts}
|
|
1218
|
-
subject.
|
|
1218
|
+
allow(subject).to receive(:options).and_return(options)
|
|
1219
1219
|
allow(subject).to receive(:version_is_less).and_return(false)
|
|
1220
1220
|
allow(subject).to receive(:fail_test)
|
|
1221
1221
|
|
|
@@ -1224,7 +1224,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
|
1224
1224
|
end
|
|
1225
1225
|
|
|
1226
1226
|
it 'yields false to repeat_fibonacci_style_for when conditions are not true' do
|
|
1227
|
-
subject.
|
|
1227
|
+
allow(subject).to receive(:options).and_return({})
|
|
1228
1228
|
allow(subject).to receive(:version_is_less).and_return(false)
|
|
1229
1229
|
allow(subject).to receive(:sleep)
|
|
1230
1230
|
|
|
@@ -1240,7 +1240,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
|
1240
1240
|
end
|
|
1241
1241
|
|
|
1242
1242
|
it 'yields false to repeat_fibonacci_style_for when JSON::ParserError occurs' do
|
|
1243
|
-
subject.
|
|
1243
|
+
allow(subject).to receive(:options).and_return({})
|
|
1244
1244
|
allow(subject).to receive(:version_is_less).and_return(false)
|
|
1245
1245
|
allow(subject).to receive(:sleep)
|
|
1246
1246
|
|
|
@@ -1253,7 +1253,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
|
1253
1253
|
end
|
|
1254
1254
|
|
|
1255
1255
|
it 'calls fail_test when no checks pass' do
|
|
1256
|
-
subject.
|
|
1256
|
+
allow(subject).to receive(:options).and_return({})
|
|
1257
1257
|
allow(subject).to receive(:version_is_less).and_return(false)
|
|
1258
1258
|
|
|
1259
1259
|
allow(subject).to receive(:repeat_fibonacci_style_for).and_return(false)
|
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: 0.10.
|
|
4
|
+
version: 0.10.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppetlabs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-08-
|
|
11
|
+
date: 2016-08-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|