beaker-pe 1.17.0 → 1.18.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 +31 -2
- data/lib/beaker-pe/install/pe_utils.rb +2 -2
- data/lib/beaker-pe/version.rb +1 -1
- data/spec/beaker-pe/install/pe_utils_spec.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTNlZWVmZmY5NzA1ZGNjZWIzNTQwZWEwMzljZTQ3ZWRhZTA5NDlmMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MmQyNWMyNDExYzljYTU0M2FmZmY4NzY0ODUzMzQzZjA2N2RlN2UxMA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Yjc4ZjQyNGM3NTJhZDhkNzJjYzY2MGJjNDYwNTkxYjFkZjAyMTVjM2ZjNmU3
|
10
|
+
OWMzZDZhMjk5YWQ4YTNjZjJlNzMxYWY5ZDljYTllNWQ0MjJhYjc1ZDZhZjVj
|
11
|
+
YzIxYjlkMjg3MDJlNDQ4NTY0YTk3MmJjMDNhYThiY2VlMzcyMjU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OWU2NjA1MWY2ZThhYTUxZmJkNzkxMWFjZTY3ZmIzNzFjZGZlNzM3Y2QxODY0
|
14
|
+
NmQ1MmJmNDliMzZjOTg1OTdkMGE3YTBjZjkyOTMzYTkxYzNiMWE4ZjVlZjcw
|
15
|
+
OThiZDBjZDRlYmRiZDBlOWVlN2JiMzgyMTA2ZTA3MThmZmUzYTY=
|
data/HISTORY.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# worker - History
|
2
2
|
## Tags
|
3
|
-
* [LATEST -
|
3
|
+
* [LATEST - 27 Jun, 2017 (25db20df)](#LATEST)
|
4
4
|
* [1.16.0 - 26 May, 2017 (f8218db6)](#1.16.0)
|
5
5
|
* [1.15.0 - 11 May, 2017 (0fddaad5)](#1.15.0)
|
6
6
|
* [1.14.0 - 10 May, 2017 (874a7998)](#1.14.0)
|
@@ -40,7 +40,36 @@
|
|
40
40
|
* [0.1.0 - 29 Feb, 2016 (4fc88d8c)](#0.1.0)
|
41
41
|
|
42
42
|
## Details
|
43
|
-
### <a name = "LATEST">LATEST -
|
43
|
+
### <a name = "LATEST">LATEST - 27 Jun, 2017 (25db20df)
|
44
|
+
|
45
|
+
* (GEM) update beaker-pe version to 1.18.0 (25db20df)
|
46
|
+
|
47
|
+
* Merge pull request #75 from ericwilliamson/task/master/QENG-5095-frictionless-agent-use-current (d0924c94)
|
48
|
+
|
49
|
+
|
50
|
+
```
|
51
|
+
Merge pull request #75 from ericwilliamson/task/master/QENG-5095-frictionless-agent-use-current
|
52
|
+
|
53
|
+
(QENG-5095) Use `current` endpoint for frictionless agent
|
54
|
+
```
|
55
|
+
* (QENG-5095) Use `current` endpoint for frictionless agent (416efbf5)
|
56
|
+
|
57
|
+
|
58
|
+
```
|
59
|
+
(QENG-5095) Use `current` endpoint for frictionless agent
|
60
|
+
|
61
|
+
Previous to this commit, the url constructed for frictionless agent
|
62
|
+
installs attempted to use the hosts `pe_ver` variable for getting the
|
63
|
+
exact URL of the simplified install script. This was causing issues with
|
64
|
+
PEZ builds due to the different pe_ver in the filename (for downloading
|
65
|
+
the tarball) and the actual pe version.
|
66
|
+
This commit updates the url to just use the `current` endpoint instead
|
67
|
+
of the version, which mimics our install documentation. This won't
|
68
|
+
really remove the ability of installing an older version via this method
|
69
|
+
considering the logic for adding pe_repo classes didn't support passing
|
70
|
+
a specific pe_ver / agent version to pe_repo.
|
71
|
+
```
|
72
|
+
* (HISTORY) update beaker-pe history for gem release 1.17.0 (38b5acd9)
|
44
73
|
|
45
74
|
* (GEM) update beaker-pe version to 1.17.0 (544c8585)
|
46
75
|
|
@@ -113,10 +113,10 @@ module Beaker
|
|
113
113
|
"powershell -c \"cd #{host['working_dir']};[Net.ServicePointManager]::ServerCertificateValidationCallback = {\\$true};\\$webClient = New-Object System.Net.WebClient;\\$webClient.DownloadFile('https://#{master}:8140/packages/#{version}/install.ps1', '#{host['working_dir']}/install.ps1');#{host['working_dir']}/install.ps1 -verbose #{frictionless_install_opts.join(' ')}\""
|
114
114
|
elsif host['platform'] =~ /aix/ then
|
115
115
|
curl_opts = '--tlsv1 -O'
|
116
|
-
"cd #{host['working_dir']} && curl #{curl_opts} https://#{master}:8140/packages
|
116
|
+
"cd #{host['working_dir']} && curl #{curl_opts} https://#{master}:8140/packages/current/install.bash && bash#{pe_debug} install.bash #{frictionless_install_opts.join(' ')}".strip
|
117
117
|
else
|
118
118
|
curl_opts = '--tlsv1 -kO'
|
119
|
-
"cd #{host['working_dir']} && curl #{curl_opts} https://#{master}:8140/packages
|
119
|
+
"cd #{host['working_dir']} && curl #{curl_opts} https://#{master}:8140/packages/current/install.bash && bash#{pe_debug} install.bash #{frictionless_install_opts.join(' ')}".strip
|
120
120
|
end
|
121
121
|
elsif host['platform'] =~ /osx/
|
122
122
|
version = host['pe_ver'] || opts[:pe_ver]
|
data/lib/beaker-pe/version.rb
CHANGED
@@ -203,7 +203,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
203
203
|
the_host['pe_ver'] = '3.8.0'
|
204
204
|
the_host['pe_installer'] = 'puppet-enterprise-installer'
|
205
205
|
the_host['roles'] = ['frictionless']
|
206
|
-
expect( subject.installer_cmd( the_host, {} ) ).to be === "cd /tmp && curl --tlsv1 -kO https://testmaster:8140/packages/
|
206
|
+
expect( subject.installer_cmd( the_host, {} ) ).to be === "cd /tmp && curl --tlsv1 -kO https://testmaster:8140/packages/current/install.bash && bash install.bash"
|
207
207
|
end
|
208
208
|
|
209
209
|
it 'generates a unix PE frictionless install command for a unix host with role "frictionless" and "frictionless_options"' do
|
@@ -213,7 +213,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
213
213
|
the_host['pe_installer'] = 'puppet-enterprise-installer'
|
214
214
|
the_host['roles'] = ['frictionless']
|
215
215
|
the_host['frictionless_options'] = { 'main' => { 'dns_alt_names' => 'puppet' } }
|
216
|
-
expect( subject.installer_cmd( the_host, {} ) ).to be === "cd /tmp && curl --tlsv1 -kO https://testmaster:8140/packages/
|
216
|
+
expect( subject.installer_cmd( the_host, {} ) ).to be === "cd /tmp && curl --tlsv1 -kO https://testmaster:8140/packages/current/install.bash && bash install.bash main:dns_alt_names=puppet"
|
217
217
|
end
|
218
218
|
|
219
219
|
it 'generates a osx PE install command for a osx host' do
|
@@ -250,7 +250,7 @@ describe ClassMixedWithDSLInstallUtils do
|
|
250
250
|
the_host['pe_installer'] = 'puppet-enterprise-installer'
|
251
251
|
the_host['roles'] = ['frictionless']
|
252
252
|
the_host[:pe_debug] = true
|
253
|
-
expect( subject.installer_cmd( the_host, {} ) ).to be === "cd /tmp && curl --tlsv1 -kO https://testmaster:8140/packages/
|
253
|
+
expect( subject.installer_cmd( the_host, {} ) ).to be === "cd /tmp && curl --tlsv1 -kO https://testmaster:8140/packages/current/install.bash && bash -x install.bash"
|
254
254
|
end
|
255
255
|
end
|
256
256
|
|
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.18.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-06-
|
11
|
+
date: 2017-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|