vagrant-pe_build 0.18.0 → 0.18.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.travis.yml +3 -3
- data/CHANGELOG +19 -0
- data/Gemfile +1 -1
- data/lib/pe_build/cap/run_install/windows.rb +21 -5
- data/lib/pe_build/cap/stage_installer/windows.rb +4 -1
- data/lib/pe_build/release/2018_1.rb +1 -0
- data/lib/pe_build/release/2019_0.rb +1 -0
- data/lib/pe_build/release.rb +1 -1
- data/lib/pe_build/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 47070fea96c9cfed9b26f7916bac18a43e8af3eeb65dd08605328f25f56b6c38
|
4
|
+
data.tar.gz: 941bb346df8bc01b4638d3d5961d77a763aa83ecf54dfc060c7420225b8c4063
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f3e6542d5f3749b8ae1912ca7bf842a1921b7ba8b658534d7cc3606174634b36877caec8e11b56b878920ed7c47e5b53e03ee8e12fc72ed600d1d9bcd63790c
|
7
|
+
data.tar.gz: 3433c90c3eb6d59e02284c44b72a10308a8bb738cc7869016f662f114d7e202a6c20db7cea8a24742ac0af90f3e65c3f93f5594a4be3fe7827e592119eabdc0b
|
data/.travis.yml
CHANGED
@@ -20,8 +20,6 @@ env:
|
|
20
20
|
|
21
21
|
matrix:
|
22
22
|
include:
|
23
|
-
- rvm: 2.0.0
|
24
|
-
env: TEST_VAGRANT_VERSION=v1.7.4 BUNDLER_VERSION=1.10.5
|
25
23
|
- rvm: 2.2.5
|
26
24
|
env: TEST_VAGRANT_VERSION=v1.8.7 BUNDLER_VERSION=1.12.5
|
27
25
|
- rvm: 2.3.4
|
@@ -31,4 +29,6 @@ matrix:
|
|
31
29
|
- rvm: 2.4.4
|
32
30
|
env: TEST_VAGRANT_VERSION=v2.1.5 BUNDLER_VERSION=1.16.1
|
33
31
|
- rvm: 2.4.4
|
34
|
-
env: TEST_VAGRANT_VERSION=
|
32
|
+
env: TEST_VAGRANT_VERSION=v2.2.2 BUNDLER_VERSION=1.16.6
|
33
|
+
- rvm: 2.4.4
|
34
|
+
env: TEST_VAGRANT_VERSION=HEAD BUNDLER_VERSION=1.16.6
|
data/CHANGELOG
CHANGED
@@ -1,6 +1,25 @@
|
|
1
1
|
vagrant-pe_build
|
2
2
|
================
|
3
3
|
|
4
|
+
0.18.1
|
5
|
+
------
|
6
|
+
|
7
|
+
2019-01-01
|
8
|
+
|
9
|
+
This is a backwards compatible bugfix release.
|
10
|
+
|
11
|
+
* Add test coverage for Vagrant 2.2
|
12
|
+
|
13
|
+
* Add support for 2018.1.5
|
14
|
+
|
15
|
+
* Add support for 2019.0.1
|
16
|
+
|
17
|
+
* Fixed an issue where Windows agent packages were not downloaded to the
|
18
|
+
location where the installer expected them.
|
19
|
+
|
20
|
+
* Improved logging around failed Windows installations.
|
21
|
+
|
22
|
+
|
4
23
|
0.18.0
|
5
24
|
------
|
6
25
|
|
data/Gemfile
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
source 'https://rubygems.org'
|
2
2
|
require 'rubygems/version'
|
3
3
|
|
4
|
-
vagrant_branch = ENV['TEST_VAGRANT_VERSION'] || 'v2.
|
4
|
+
vagrant_branch = ENV['TEST_VAGRANT_VERSION'] || 'v2.2.2'
|
5
5
|
vagrant_version = nil
|
6
6
|
|
7
7
|
# Wrapping gemspec in the :plugins group causes Vagrant 1.5 and newer to
|
@@ -20,17 +20,33 @@ class PEBuild::Cap::RunInstall::Windows
|
|
20
20
|
installer_path = installer_path.gsub('/', '\\')
|
21
21
|
|
22
22
|
cmd = <<-EOS
|
23
|
+
$WorkingDirectory = (Get-Item -Path "#{installer_path}" -ErrorVariable InstallerMissing).Directory.FullName
|
24
|
+
If ($InstallerMissing) { Exit 1 }
|
25
|
+
|
26
|
+
$Package = (Get-Item -Path "#{installer_path}").FullName
|
27
|
+
$LogFile = "${WorkingDirectory}\\puppet-enterprise-installer.log"
|
28
|
+
|
23
29
|
$params = @(
|
24
30
|
"/qn",
|
25
|
-
"/i `"
|
26
|
-
"/l*v
|
31
|
+
"/i `"${Package}`"",
|
32
|
+
"/l*v `"${LogFile}`"",
|
27
33
|
"#{install_options}"
|
28
34
|
)
|
29
35
|
|
30
|
-
|
31
|
-
EOS
|
36
|
+
Write-Host "Running msiexec to install: ${Package}"
|
32
37
|
|
33
|
-
|
38
|
+
$Result = (Start-Process -FilePath "msiexec.exe" -ArgumentList $params -Wait -Passthru).ExitCode
|
39
|
+
|
40
|
+
If ($Result -ne 0) {
|
41
|
+
$HOST.UI.WriteErrorLine("msiexec failed with exitcode: ${Result}")
|
42
|
+
$HOST.UI.WriteErrorLine("Contents of ${LogFile}:")
|
43
|
+
Get-Content "${LogFile}" | ForEach-Object { $HOST.UI.WriteErrorLine($_) }
|
44
|
+
} Else {
|
45
|
+
Write-Host "msiexec completed with exitcode: ${Result}"
|
46
|
+
}
|
47
|
+
|
48
|
+
Exit $Result
|
49
|
+
EOS
|
34
50
|
|
35
51
|
on_machine(machine, cmd)
|
36
52
|
end
|
@@ -25,8 +25,11 @@ class PEBuild::Cap::StageInstaller::Windows
|
|
25
25
|
# allows us to download from HTTPS sources that present a self-signed
|
26
26
|
# certificate. For example, a Puppet Master.
|
27
27
|
on_machine(machine, <<-EOS)
|
28
|
+
$DestDir = (Get-Item -Path "#{dest_dir}").FullName
|
29
|
+
Write-Host "Downloading #{filename} to: ${DestDir}"
|
30
|
+
|
28
31
|
[System.Net.ServicePointManager]::ServerCertificateValidationCallback = {$true}
|
29
|
-
(New-Object System.Net.WebClient).DownloadFile("#{uri}","
|
32
|
+
(New-Object System.Net.WebClient).DownloadFile("#{uri}","$DestDir/#{filename}")
|
30
33
|
EOS
|
31
34
|
end
|
32
35
|
end
|
data/lib/pe_build/release.rb
CHANGED
data/lib/pe_build/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-pe_build
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adrien Thebo
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2019-01-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ruby-progressbar
|
@@ -224,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
224
224
|
version: '0'
|
225
225
|
requirements: []
|
226
226
|
rubyforge_project:
|
227
|
-
rubygems_version: 2.6
|
227
|
+
rubygems_version: 2.7.6
|
228
228
|
signing_key:
|
229
229
|
specification_version: 4
|
230
230
|
summary: Vagrant provisioners for installing Puppet Enterprise
|