beaker-pe 0.6.0 → 0.7.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 +62 -2
- data/lib/beaker-pe/install/pe_utils.rb +13 -1
- 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
|
+
Mzg4ZWI5NTMwZmY5OGM5MTAxMjIzOGQxMTgxMzM2MmQzZDk5ODBlNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OGM3NjNlM2I2NjJhNmY4NDQ0YjI1ODEzNWQ0ODI4MGZmZmM2ODQzMA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2ExZWVmMzZiZmQ5Yzg3NGZlNzI3MmRmZjY1MDY4NDMyOWRmNDIyNWIxMWVi
|
10
|
+
ODQzZGFiNGMwMTI3M2Y0ZmEyNDg5MTEyNDQwOGZjZDFjYjBmMzg0OWM2ODI3
|
11
|
+
YjYzZGMyNmNhYjkwNzkyODQzOGU4ZDhkYTg2MDRmYzliOGYyOTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWM5N2I5ZmNhMWI3MmVmYWRlNWE4ZDkxYzNiYTFjMWI1NTRjMWEzMmM5ZTc4
|
14
|
+
ZTExYjE0NmNlN2YwMmE2ZjQxNjA4NjAyMjMwMzYzZTgwODE4MTljZWZiNGUz
|
15
|
+
MmJhNDE5ZmJlNTViZjkzYTgzZDQwYjRiYzZhM2E2NWE3MGZlMGY=
|
data/HISTORY.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# default - History
|
2
2
|
## Tags
|
3
|
-
* [LATEST -
|
3
|
+
* [LATEST - 19 Jul, 2016 (f31dbe09)](#LATEST)
|
4
|
+
* [0.6.0 - 11 Jul, 2016 (e974e7f8)](#0.6.0)
|
4
5
|
* [0.5.0 - 15 Jun, 2016 (8f2874fe)](#0.5.0)
|
5
6
|
* [0.4.0 - 1 Jun, 2016 (f5ad1884)](#0.4.0)
|
6
7
|
* [0.3.0 - 26 May, 2016 (0d6b6d4c)](#0.3.0)
|
@@ -10,7 +11,66 @@
|
|
10
11
|
* [0.1.0 - 29 Feb, 2016 (4fc88d8c)](#0.1.0)
|
11
12
|
|
12
13
|
## Details
|
13
|
-
### <a name = "LATEST">LATEST -
|
14
|
+
### <a name = "LATEST">LATEST - 19 Jul, 2016 (f31dbe09)
|
15
|
+
|
16
|
+
* (GEM) update beaker-pe version to 0.7.0 (f31dbe09)
|
17
|
+
|
18
|
+
* Merge pull request #12 from highb/feature/pe-15351_non_interactive_flag_on_installer (5062ede4)
|
19
|
+
|
20
|
+
|
21
|
+
```
|
22
|
+
Merge pull request #12 from highb/feature/pe-15351_non_interactive_flag_on_installer
|
23
|
+
|
24
|
+
(PE-15351) Use -y option for 2016.2.1+ installs
|
25
|
+
```
|
26
|
+
* (PE-15351) Change -f option to -y (d86f4cde)
|
27
|
+
|
28
|
+
|
29
|
+
```
|
30
|
+
(PE-15351) Change -f option to -y
|
31
|
+
|
32
|
+
Prior to this commit I was using the `-f` option in the installer,
|
33
|
+
now it is `-y`. For more information, see
|
34
|
+
https://github.com/puppetlabs/pe-installer-shim/pull/31/commits/0dfd6eb488456a7177673bb720edf9758521f096
|
35
|
+
```
|
36
|
+
* (PE-15351) Fix use of -c/-f flags on upgrades (33cdfef0)
|
37
|
+
|
38
|
+
|
39
|
+
```
|
40
|
+
(PE-15351) Fix use of -c/-f flags on upgrades
|
41
|
+
|
42
|
+
Prior to this commit the condition used to decide whether to use
|
43
|
+
the `-c`/`-f` flags was dependent on `host['pe_upgrade_ver']` and
|
44
|
+
`host['pe_ver']` which was an unreliable condition.
|
45
|
+
This commit updates the condition to determine whether to use the
|
46
|
+
`-f` flag to simply look at `host['pe_ver']` because that value
|
47
|
+
is updated depending on what version of pe is currently being
|
48
|
+
installed or upgraded to.
|
49
|
+
The condition to decide to omit the `-c` flag has to depend on
|
50
|
+
`opts[:HOSTS][host.name][:pe_ver]` because that value is not
|
51
|
+
modified during upgrade and can be used for a valid comparison
|
52
|
+
to determine if the install will have a `pe.conf` file to use
|
53
|
+
for an upgrade.
|
54
|
+
```
|
55
|
+
* (PE-15351) Use -f option for 2016.2.1+ installs (9372dc29)
|
56
|
+
|
57
|
+
|
58
|
+
```
|
59
|
+
(PE-15351) Use -f option for 2016.2.1+ installs
|
60
|
+
|
61
|
+
Prior to this commit there was not an option for signalling a
|
62
|
+
non-interactive install to the installer.
|
63
|
+
This commit adds the new `-f` option added in
|
64
|
+
https://github.com/puppetlabs/pe-installer-shim/pull/31 to the
|
65
|
+
command line options for installation/upgrade.
|
66
|
+
|
67
|
+
Additionally, this commit will remove the `-c` parameter being
|
68
|
+
passed on upgrades from a 2016.2.0+ install, because the installer
|
69
|
+
should be able to pick up on the existing pe.conf file.
|
70
|
+
```
|
71
|
+
### <a name = "0.6.0">0.6.0 - 11 Jul, 2016 (e974e7f8)
|
72
|
+
|
73
|
+
* (HISTORY) update beaker-pe history for gem release 0.6.0 (e974e7f8)
|
14
74
|
|
15
75
|
* (GEM) update beaker-pe version to 0.6.0 (48b663eb)
|
16
76
|
|
@@ -109,7 +109,19 @@ module Beaker
|
|
109
109
|
host.install_from_file("puppet-enterprise-#{version}-#{host['platform']}.swix")
|
110
110
|
else
|
111
111
|
pe_debug = host[:pe_debug] || opts[:pe_debug] ? ' -D' : ''
|
112
|
-
"cd #{host['working_dir']}/#{host['dist']} && ./#{host['pe_installer']}#{pe_debug}
|
112
|
+
pe_cmd = "cd #{host['working_dir']}/#{host['dist']} && ./#{host['pe_installer']}#{pe_debug}"
|
113
|
+
if ! version_is_less(host['pe_ver'], '2016.2.1')
|
114
|
+
# -y option sets "assume yes" mode where yes or whatever default will be assumed
|
115
|
+
pe_cmd += " -y"
|
116
|
+
end
|
117
|
+
|
118
|
+
# If there are no answer overrides, and we are doing an upgrade from 2016.2.0,
|
119
|
+
# we can assume there will be a valid pe.conf in /etc that we can re-use.
|
120
|
+
if opts[:answers].nil? && opts[:custom_answers].nil? && opts[:type] == :upgrade && !version_is_less(opts[:HOSTS][host.name][:pe_ver], '2016.2.0')
|
121
|
+
"#{pe_cmd}"
|
122
|
+
else
|
123
|
+
"#{pe_cmd} #{host['pe_installer_conf_setting']}"
|
124
|
+
end
|
113
125
|
end
|
114
126
|
end
|
115
127
|
|
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: 0.
|
4
|
+
version: 0.7.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-07-
|
11
|
+
date: 2016-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|