beaker-pe 1.12.0 → 1.12.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 +30 -2
- data/lib/beaker-pe/install/pe_utils.rb +4 -4
- data/lib/beaker-pe/version.rb +1 -1
- data/spec/beaker-pe/install/pe_utils_spec.rb +3 -9
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
ZmM1MjMxNjZkYjU3ZWM2ZGI4NDhjMmI0ZWYwM2FjOGZkZmQ0NmNmMA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
YmI3YmJlOWE2NjYwYzUwNTBhYTMyYWQyYTY5OGVmMTFmN2YwMmNmNA==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NTVjYTNmOTJkOWY0YzVmNjUyOGM0MjAyMzVlZmVhZDI5ZTk3NjhlMjJjOTNm
|
|
10
|
+
NmI0YzZlYTMwYWIxYTM1M2FkZTJlYzIwYzlhZTY2M2Q4YTYwNDM1MTRmNTdl
|
|
11
|
+
NjQwY2YxZGY0Y2FkMzZmZTk0OWU1MDUzZDJiZTQ3YWM4NTU4ODA=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NzBhYTVjOTRmMjc5ODRhZWExNjliY2VkMmI5ODk3YzExODQ3YmIxMWMwMGYw
|
|
14
|
+
NDBjOTQwZjY5ZTQ1ZGE2MTk5MDJjNWQ0MDNhNWY2ODI5YTgzZGM3ZGY3MGU4
|
|
15
|
+
ODQxNGFjNzYzODlhMjMxYWVjMDU3NjAyZTMyMGM3ODAzYjg5ODA=
|
data/HISTORY.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# worker - History
|
|
2
2
|
## Tags
|
|
3
|
-
* [LATEST -
|
|
3
|
+
* [LATEST - 29 Mar, 2017 (95b0e94f)](#LATEST)
|
|
4
|
+
* [1.12.0 - 23 Mar, 2017 (0784adc6)](#1.12.0)
|
|
4
5
|
* [1.11.0 - 23 Mar, 2017 (6c3b0067)](#1.11.0)
|
|
5
6
|
* [1.10.0 - 20 Mar, 2017 (22e22ca8)](#1.10.0)
|
|
6
7
|
* [1.9.1 - 22 Feb, 2017 (3b0bd457)](#1.9.1)
|
|
@@ -34,7 +35,34 @@
|
|
|
34
35
|
* [0.1.0 - 29 Feb, 2016 (4fc88d8c)](#0.1.0)
|
|
35
36
|
|
|
36
37
|
## Details
|
|
37
|
-
### <a name = "LATEST">LATEST -
|
|
38
|
+
### <a name = "LATEST">LATEST - 29 Mar, 2017 (95b0e94f)
|
|
39
|
+
|
|
40
|
+
* (GEM) update beaker-pe version to 1.12.1 (95b0e94f)
|
|
41
|
+
|
|
42
|
+
* Merge pull request #65 from nicklewis/BKR-1085-sign-certs-before-stopping-agent (e1b6d137)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
Merge pull request #65 from nicklewis/BKR-1085-sign-certs-before-stopping-agent
|
|
47
|
+
|
|
48
|
+
(BKR-1085) Sign certs *before* stopping agent service
|
|
49
|
+
```
|
|
50
|
+
* (BKR-1085) Sign certs *before* stopping agent service (3b5208eb)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
(BKR-1085) Sign certs *before* stopping agent service
|
|
55
|
+
|
|
56
|
+
Previously, the simple_monolithic install method was installing agents,
|
|
57
|
+
stopping the agent service and then attempting to sign certificates.
|
|
58
|
+
This was failing sporadically because the agent service needs to run
|
|
59
|
+
enough to submit a certificate request before being stopped. This was
|
|
60
|
+
being handled properly in the generic install method, but the order of
|
|
61
|
+
operations was swapped in the monolithic install method.
|
|
62
|
+
```
|
|
63
|
+
### <a name = "1.12.0">1.12.0 - 23 Mar, 2017 (0784adc6)
|
|
64
|
+
|
|
65
|
+
* (HISTORY) update beaker-pe history for gem release 1.12.0 (0784adc6)
|
|
38
66
|
|
|
39
67
|
* (GEM) update beaker-pe version to 1.12.0 (dd68cfa4)
|
|
40
68
|
|
|
@@ -471,15 +471,15 @@ module Beaker
|
|
|
471
471
|
end
|
|
472
472
|
end
|
|
473
473
|
|
|
474
|
-
step "Stop puppet agents to avoid interfering with tests" do
|
|
475
|
-
stop_agent_on(all_hosts, :run_in_parallel => true)
|
|
476
|
-
end
|
|
477
|
-
|
|
478
474
|
step "Sign agent certificates" do
|
|
479
475
|
# This will sign all cert requests
|
|
480
476
|
sign_certificate_for(agents)
|
|
481
477
|
end
|
|
482
478
|
|
|
479
|
+
step "Stop puppet agents to avoid interfering with tests" do
|
|
480
|
+
stop_agent_on(all_hosts, :run_in_parallel => true)
|
|
481
|
+
end
|
|
482
|
+
|
|
483
483
|
step "Run puppet to setup mcollective and pxp-agent" do
|
|
484
484
|
on all_hosts, puppet_agent('-t'), :acceptable_exit_codes => [0,2], :run_in_parallel => true
|
|
485
485
|
|
data/lib/beaker-pe/version.rb
CHANGED
|
@@ -1293,16 +1293,10 @@ describe ClassMixedWithDSLInstallUtils do
|
|
|
1293
1293
|
subject.simple_monolithic_install(monolithic, [el_agent, el_agent, deb_agent, deb_agent])
|
|
1294
1294
|
end
|
|
1295
1295
|
|
|
1296
|
-
it 'signs
|
|
1296
|
+
it 'signs certificates then stops agents to avoid interference with tests' do
|
|
1297
1297
|
agents = [el_agent, el_agent, deb_agent, deb_agent]
|
|
1298
|
-
expect(subject).to receive(:sign_certificate_for).with(agents)
|
|
1299
|
-
|
|
1300
|
-
subject.simple_monolithic_install(monolithic, agents)
|
|
1301
|
-
end
|
|
1302
|
-
|
|
1303
|
-
it 'stops the agents in parallel to avoid interference with tests' do
|
|
1304
|
-
agents = [el_agent, el_agent, deb_agent, deb_agent]
|
|
1305
|
-
expect(subject).to receive(:stop_agent_on).with([monolithic, *agents], :run_in_parallel => true)
|
|
1298
|
+
expect(subject).to receive(:sign_certificate_for).with(agents).ordered
|
|
1299
|
+
expect(subject).to receive(:stop_agent_on).with([monolithic, *agents], :run_in_parallel => true).ordered
|
|
1306
1300
|
|
|
1307
1301
|
subject.simple_monolithic_install(monolithic, agents)
|
|
1308
1302
|
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: 1.12.
|
|
4
|
+
version: 1.12.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppetlabs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-03-
|
|
11
|
+
date: 2017-03-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|