beaker-pe 1.16.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/HISTORY.md +53 -2
- data/lib/beaker-pe/install/pe_utils.rb +3 -2
- data/lib/beaker-pe/version.rb +1 -1
- data/spec/beaker-pe/install/pe_utils_spec.rb +3 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MmJmODQ3NWQwNmU1YzgwOWYyMTEzZTA5NTA0NjM5YmZlMmNmYWVmNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MWZhMGY3Y2YxMzhhNTYwZGRhNjk3MTkzYWFhNzcxMDYzOGM0MzEyMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NDk4ZjM1MGY3NGE1NDAxMjZjOWNiNDAxNmIzYzNkNWEwNzhhNzY2MDdkNWM2
|
10
|
+
ZDJkMjczOTczZjAzNTg1YzdmODRhZGZlMmYyNmMyMGVhOTE4OWI4Y2RhNWI5
|
11
|
+
NmMyMWY0NWY4NDY2Y2E4NmU5YmI5MGRkZmY5ZjVkMTQ2NzY3YTE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MjBiNWIwNWQ0Y2Q0M2I4YjkzNDYzNWUyYTU2ZTU0NzEwNmRmOTljZTM2MWYx
|
14
|
+
NjJlZmZmZjI5MzY4YTYwNThjYzI0Y2ZkZWU5OWI4ZDk5MzI2NTVmMzdlNDUw
|
15
|
+
YTFhNzUxZTBlN2QxODU0NDkxNWRiYmY0ZmE1ZTZhMmI2ZmViOGU=
|
data/HISTORY.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# worker - History
|
2
2
|
## Tags
|
3
|
-
* [LATEST -
|
3
|
+
* [LATEST - 7 Jun, 2017 (544c8585)](#LATEST)
|
4
|
+
* [1.16.0 - 26 May, 2017 (f8218db6)](#1.16.0)
|
4
5
|
* [1.15.0 - 11 May, 2017 (0fddaad5)](#1.15.0)
|
5
6
|
* [1.14.0 - 10 May, 2017 (874a7998)](#1.14.0)
|
6
7
|
* [1.13.0 - 6 Apr, 2017 (a3c5d641)](#1.13.0)
|
@@ -39,7 +40,57 @@
|
|
39
40
|
* [0.1.0 - 29 Feb, 2016 (4fc88d8c)](#0.1.0)
|
40
41
|
|
41
42
|
## Details
|
42
|
-
### <a name = "LATEST">LATEST -
|
43
|
+
### <a name = "LATEST">LATEST - 7 Jun, 2017 (544c8585)
|
44
|
+
|
45
|
+
* (GEM) update beaker-pe version to 1.17.0 (544c8585)
|
46
|
+
|
47
|
+
* Merge pull request #74 from ericwilliamson/bug/master/qeng-5040-run-puppet-after-mono-install (6958c093)
|
48
|
+
|
49
|
+
|
50
|
+
```
|
51
|
+
Merge pull request #74 from ericwilliamson/bug/master/qeng-5040-run-puppet-after-mono-install
|
52
|
+
|
53
|
+
(QENG-5040) Run puppet after simplified mono install
|
54
|
+
```
|
55
|
+
* Merge pull request #73 from samwoods1/maint (cf2ad914)
|
56
|
+
|
57
|
+
|
58
|
+
```
|
59
|
+
Merge pull request #73 from samwoods1/maint
|
60
|
+
|
61
|
+
(maint) Fix parallel agent install
|
62
|
+
```
|
63
|
+
* (QENG-5040) Run puppet after simplified mono install (01b9617d)
|
64
|
+
|
65
|
+
|
66
|
+
```
|
67
|
+
(QENG-5040) Run puppet after simplified mono install
|
68
|
+
|
69
|
+
Previous to this commit, the new simplified mono install method was not
|
70
|
+
running puppet on the master node in a mono only scenario. If the
|
71
|
+
install included agents not of the masters OS, then puppet would of been
|
72
|
+
ran due to needing to add pe_repo classes. In the scenario of mono
|
73
|
+
master only, if puppet is not ran, then setup is not considered complete
|
74
|
+
due to exported resources, mcollective and facts not being setup yet.
|
75
|
+
This would cause numerous issues, such as no facts in puppetdb (so
|
76
|
+
anyaltic tests for example would fail) until a test somewhere in the
|
77
|
+
pipeline ran puppet agent on the master node.
|
78
|
+
This commit adds a call outside of the parallel agent run on non infra
|
79
|
+
agents due to the fact that with exported resources, the classifier
|
80
|
+
service will restart, so need to run the master first, then after that
|
81
|
+
all the agents can run.
|
82
|
+
```
|
83
|
+
* (maint) Fix parallel agent install (19c1e64a)
|
84
|
+
|
85
|
+
|
86
|
+
```
|
87
|
+
(maint) Fix parallel agent install
|
88
|
+
Parallel agent installs have been broken since f9cb3ca802ddc94a9a42dcbcfef96f7a76a19dff because the install command contained a working_dir that was unique per host.
|
89
|
+
This fixes that issue and also allows all agents to be installed in parallel regardless of OS or unique installer_cmd
|
90
|
+
```
|
91
|
+
### <a name = "1.16.0">1.16.0 - 26 May, 2017 (f8218db6)
|
92
|
+
|
93
|
+
* (HISTORY) update beaker-pe history for gem release 1.16.0 (f8218db6)
|
43
94
|
|
44
95
|
* (GEM) update beaker-pe version to 1.16.0 (053b1ab7)
|
45
96
|
|
@@ -470,8 +470,8 @@ module Beaker
|
|
470
470
|
end
|
471
471
|
|
472
472
|
step "Install agents" do
|
473
|
-
agents
|
474
|
-
on
|
473
|
+
block_on(agents, {:run_in_parallel => true}) do |host|
|
474
|
+
on(host, installer_cmd(host, opts))
|
475
475
|
end
|
476
476
|
end
|
477
477
|
|
@@ -485,6 +485,7 @@ module Beaker
|
|
485
485
|
end
|
486
486
|
|
487
487
|
step "Run puppet to setup mcollective and pxp-agent" do
|
488
|
+
on(master, puppet_agent('-t'), :acceptable_exit_codes => [0,2])
|
488
489
|
run_puppet_on_non_infrastructure_nodes(all_hosts)
|
489
490
|
|
490
491
|
#Workaround for windows frictionless install, see BKR-943 for the reason
|
data/lib/beaker-pe/version.rb
CHANGED
@@ -1357,14 +1357,13 @@ describe ClassMixedWithDSLInstallUtils do
|
|
1357
1357
|
|
1358
1358
|
it 'installs on the master then on the agents' do
|
1359
1359
|
expect(subject).to receive(:on).with(monolithic, "install master").ordered
|
1360
|
-
expect(subject).to receive(:
|
1360
|
+
expect(subject).to receive(:block_on).with([el_agent, el_agent], :run_in_parallel => true).ordered
|
1361
1361
|
|
1362
1362
|
subject.simple_monolithic_install(monolithic, [el_agent, el_agent])
|
1363
1363
|
end
|
1364
1364
|
|
1365
|
-
it 'installs agents in parallel
|
1366
|
-
expect(subject).to receive(:
|
1367
|
-
expect(subject).to receive(:on).with([deb_agent, deb_agent], "install deb agent", :run_in_parallel => true)
|
1365
|
+
it 'installs agents in parallel' do
|
1366
|
+
expect(subject).to receive(:block_on).with([el_agent, el_agent, deb_agent, deb_agent], :run_in_parallel => true)
|
1368
1367
|
|
1369
1368
|
subject.simple_monolithic_install(monolithic, [el_agent, el_agent, deb_agent, deb_agent])
|
1370
1369
|
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.
|
4
|
+
version: 1.17.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppetlabs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|