beaker-pe 1.2.0 → 1.3.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 +8 -8
- data/HISTORY.md +49 -2
- data/lib/beaker-pe.rb +10 -5
- data/lib/beaker-pe/install/pe_utils.rb +2 -2
- data/lib/beaker-pe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
N2ZiYmY3MTRjNTEyMThjYmY4NDllZmVjNGYxMDkwYWIwYjlhZDJjZQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZjAxYzc5NzY2NzBmMTk1ZGQwNTFhZDI2NDhiZjE0N2Y1NDE3MGU3Mw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NThlZmY0MDAzOTIxNDYwOWI0ODE2NjIzNWRjMTBjNTg5ODEyMzRhNDZjMjQ0
|
|
10
|
+
MzFjYjQwOWQyMWIyMmRkOTRjZGRjZTA4YTAxZWY5NzhhN2I4MTQ0MWJmYzdm
|
|
11
|
+
OGRiMGFhZGVlODZiMjRmMDc4ODY3NGY2ODk5MzMyMTc4ODMyMmM=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
M2JjNTUxNmY0ZTlkMTQ0YjU2MzFhMTY3MjFmM2NjMGE4YTk4ZDlhNDFhZWFj
|
|
14
|
+
MTk3ZjBiOTM4ZGY0NDFiZDhmNDNmODQwYjUyODE2OGYyOGU0NjgyZDRjYjhm
|
|
15
|
+
MjUyMzMyNDMyYjQyMWZhYjkzMDYzZDQ1MzQ5NjgxYmE4NDkzMzM=
|
data/HISTORY.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# default - History
|
|
2
2
|
## Tags
|
|
3
|
-
* [LATEST -
|
|
3
|
+
* [LATEST - 6 Oct, 2016 (24d8b969)](#LATEST)
|
|
4
|
+
* [1.2.0 - 4 Oct, 2016 (7362ab78)](#1.2.0)
|
|
4
5
|
* [1.1.0 - 29 Sep, 2016 (5b9f2600)](#1.1.0)
|
|
5
6
|
* [1.0.0 - 26 Sep, 2016 (84a5b56b)](#1.0.0)
|
|
6
7
|
* [0.12.0 - 16 Sep, 2016 (81e5a0b0)](#0.12.0)
|
|
@@ -20,7 +21,53 @@
|
|
|
20
21
|
* [0.1.0 - 29 Feb, 2016 (4fc88d8c)](#0.1.0)
|
|
21
22
|
|
|
22
23
|
## Details
|
|
23
|
-
### <a name = "LATEST">LATEST -
|
|
24
|
+
### <a name = "LATEST">LATEST - 6 Oct, 2016 (24d8b969)
|
|
25
|
+
|
|
26
|
+
* (GEM) update beaker-pe version to 1.3.0 (24d8b969)
|
|
27
|
+
|
|
28
|
+
* Merge pull request #32 from cthorn42/main/master/PE-17359_fix_windows_frictionless_upgrade (8feaaf0f)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
Merge pull request #32 from cthorn42/main/master/PE-17359_fix_windows_frictionless_upgrade
|
|
33
|
+
|
|
34
|
+
PE-17359 Fix windows frictionless upgrades
|
|
35
|
+
```
|
|
36
|
+
* Merge pull request #33 from tvpartytonight/BKR-953 (e53e018a)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
Merge pull request #33 from tvpartytonight/BKR-953
|
|
41
|
+
|
|
42
|
+
(BKR-953) Stop including the dsl at the top level
|
|
43
|
+
```
|
|
44
|
+
* (BKR-953) Stop including the dsl at the top level (12823a51)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
(BKR-953) Stop including the dsl at the top level
|
|
49
|
+
|
|
50
|
+
To reload the beaker dsl after adding modules to it, beaker-pe had just
|
|
51
|
+
included the module into the top level namespace. This resulted in
|
|
52
|
+
errors loading in other libraries not expecting the dsl to be loaded at
|
|
53
|
+
the top level. This commit changes that inclusion mechanism to be safe
|
|
54
|
+
from namespace collisions.
|
|
55
|
+
```
|
|
56
|
+
* PE-17359 Fix windows frictionless upgrades (883e4df5)
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
PE-17359 Fix windows frictionless upgrades
|
|
61
|
+
|
|
62
|
+
There was an error with my previous PR. PE 2016.2.1 to PE 2016.4.0
|
|
63
|
+
were failing because the PE 2016.2.1 install of the windows agent
|
|
64
|
+
would attempt to install via frictionless, and not with the old msi
|
|
65
|
+
method.
|
|
66
|
+
This PR fixes this.
|
|
67
|
+
```
|
|
68
|
+
### <a name = "1.2.0">1.2.0 - 4 Oct, 2016 (7362ab78)
|
|
69
|
+
|
|
70
|
+
* (HISTORY) update beaker-pe history for gem release 1.2.0 (7362ab78)
|
|
24
71
|
|
|
25
72
|
* (GEM) update beaker-pe version to 1.2.0 (bab690e0)
|
|
26
73
|
|
data/lib/beaker-pe.rb
CHANGED
|
@@ -22,8 +22,13 @@ end
|
|
|
22
22
|
# Boilerplate DSL inclusion mechanism:
|
|
23
23
|
# First we register our module with the Beaker DSL
|
|
24
24
|
Beaker::DSL.register( Beaker::DSL::PE )
|
|
25
|
-
|
|
26
|
-
#
|
|
27
|
-
#
|
|
28
|
-
#
|
|
29
|
-
|
|
25
|
+
|
|
26
|
+
# Second,We need to reload the DSL, but before we had reloaded
|
|
27
|
+
# it in the global namespace, which result in errors colliding
|
|
28
|
+
# with other gems rightfully not expecting beaker's dsl to
|
|
29
|
+
# be available at the global level.
|
|
30
|
+
module Beaker
|
|
31
|
+
class TestCase
|
|
32
|
+
include Beaker::DSL
|
|
33
|
+
end
|
|
34
|
+
end
|
|
@@ -425,8 +425,8 @@ module Beaker
|
|
|
425
425
|
end
|
|
426
426
|
|
|
427
427
|
install_hosts.each do |host|
|
|
428
|
-
#windows agents from 4.0 -> 2016.1.2 were only installable via aio method
|
|
429
|
-
is_windows_msi_and_aio = (host['platform'] =~ /windows/ && (version_is_less(host['pe_ver'], '2016.3.0') && !version_is_less(host['pe_ver'], '3.99')
|
|
428
|
+
#windows agents from 4.0 -> 2016.1.2 were only installable via the aio method
|
|
429
|
+
is_windows_msi_and_aio = (host['platform'] =~ /windows/ && (version_is_less(host['pe_ver'], '2016.3.0') && !version_is_less(host['pe_ver'], '3.99')))
|
|
430
430
|
|
|
431
431
|
if agent_only_check_needed && hosts_agent_only.include?(host) || is_windows_msi_and_aio
|
|
432
432
|
host['type'] = 'aio'
|
data/lib/beaker-pe/version.rb
CHANGED
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.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Puppetlabs
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-10-
|
|
11
|
+
date: 2016-10-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|