kitchen-puppet 1.46.1 → 1.46.2
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 +4 -4
- data/lib/kitchen-puppet/version.rb +1 -1
- data/lib/kitchen/provisioner/puppet_apply.rb +8 -12
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b50b0b38f7d949f0d3e44755a61dbb0da1241e2
|
|
4
|
+
data.tar.gz: e7669336277eeaa4c5d480d1006c8528b78bde3f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f197e97a0e3d34ef15ddf2b3aa496f0409982e42b15c6c69224ba1484f05c903437d62ef9df0e74eed53c9c9993b12e2c6b5a45143bece82f7064881ad47ee6b
|
|
7
|
+
data.tar.gz: 9476964e13a4801a1f42908f515ce9978cb13ba3eacecb3b219779dab733cdb20109d84d8422ff5d139d7e20baad3e5362c2d727a0e78e0b653edd0f37a180fb
|
|
@@ -235,12 +235,8 @@ module Kitchen
|
|
|
235
235
|
} else {
|
|
236
236
|
$MsiUrl = "https://downloads.puppetlabs.com/windows/puppet-#{puppet_windows_version}${architecture}.msi"
|
|
237
237
|
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
$process = Start-Process -FilePath msiexec.exe -Wait -PassThru -ArgumentList '/qn', '/norestart', '/i', 'C:\\puppet.msi'
|
|
241
|
-
else
|
|
242
|
-
$process = Start-Process -FilePath msiexec.exe -Wait -PassThru -ArgumentList '/qn', '/norestart', '/i', $MsiUrl
|
|
243
|
-
end
|
|
238
|
+
wget $MsiUrl -UseBasicParsing -OutFile "C:/puppet.msi" #{posh_proxy_parm}
|
|
239
|
+
$process = Start-Process -FilePath msiexec.exe -Wait -PassThru -ArgumentList '/qn', '/norestart', '/i', 'C:\\puppet.msi'
|
|
244
240
|
if ($process.ExitCode -ne 0) {
|
|
245
241
|
Write-Host "Installer failed."
|
|
246
242
|
Exit 1
|
|
@@ -332,12 +328,8 @@ module Kitchen
|
|
|
332
328
|
} else {
|
|
333
329
|
$MsiUrl = "https://downloads.puppetlabs.com/windows/puppet-agent-#{puppet_windows_version}-${architecture}.msi"
|
|
334
330
|
}
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
$process = Start-Process -FilePath msiexec.exe -Wait -PassThru -ArgumentList '/qn', '/norestart', '/i', 'C:\\puppet.msi'
|
|
338
|
-
else
|
|
339
|
-
$process = Start-Process -FilePath msiexec.exe -Wait -PassThru -ArgumentList '/qn', '/norestart', '/i', $MsiUrl
|
|
340
|
-
end
|
|
331
|
+
wget $MsiUrl -UseBasicParsing -OutFile "C:/puppet-agent.msi" #{posh_proxy_parm}
|
|
332
|
+
$process = Start-Process -FilePath msiexec.exe -Wait -PassThru -ArgumentList '/qn', '/norestart', '/i', 'C:\\puppet-agent.msi'
|
|
341
333
|
if ($process.ExitCode -ne 0) {
|
|
342
334
|
Write-Host "Installer failed."
|
|
343
335
|
Exit 1
|
|
@@ -1061,6 +1053,10 @@ module Kitchen
|
|
|
1061
1053
|
p || s ? "-e use_proxy=yes #{p} #{s}" : nil
|
|
1062
1054
|
end
|
|
1063
1055
|
|
|
1056
|
+
def posh_proxy_parm
|
|
1057
|
+
http_proxy ? "-Proxy #{http_proxy}" : nil
|
|
1058
|
+
end
|
|
1059
|
+
|
|
1064
1060
|
def export_http_proxy_parm
|
|
1065
1061
|
http_proxy ? "export http_proxy=#{http_proxy}" : nil
|
|
1066
1062
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen-puppet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.46.
|
|
4
|
+
version: 1.46.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Neill Turner
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-01-
|
|
11
|
+
date: 2017-01-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-kitchen
|