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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d4d106abb0a6bbd0faae002756bb884faeed419
4
- data.tar.gz: 105f006fd5430f78e31436e97576b014349bc879
3
+ metadata.gz: 5b50b0b38f7d949f0d3e44755a61dbb0da1241e2
4
+ data.tar.gz: e7669336277eeaa4c5d480d1006c8528b78bde3f
5
5
  SHA512:
6
- metadata.gz: aeabced81a5ae2344d5e694ddd8f47984df3737c18028532cc0c6b6ebbc1d46c5230c73fa35d8d6081b13c02354139a8ef848d6231d58cbe626fc7e675d12eb3
7
- data.tar.gz: 5099f121a88631ceeaf0a8d7b202fa1e44c443e00c51e683af91d8c4097a7f247bcacc11c4b844dbbaebe9af0d57e6132f0c18823021a5e7e58714ed7f405406
6
+ metadata.gz: f197e97a0e3d34ef15ddf2b3aa496f0409982e42b15c6c69224ba1484f05c903437d62ef9df0e74eed53c9c9993b12e2c6b5a45143bece82f7064881ad47ee6b
7
+ data.tar.gz: 9476964e13a4801a1f42908f515ce9978cb13ba3eacecb3b219779dab733cdb20109d84d8422ff5d139d7e20baad3e5362c2d727a0e78e0b653edd0f37a180fb
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kitchen
4
4
  module Puppet
5
- VERSION = '1.46.1'.freeze
5
+ VERSION = '1.46.2'.freeze
6
6
  end
7
7
  end
@@ -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
- if http_proxy
239
- wget $MsiUrl -UseBasicParsing -OutFile "C:/puppet.msi" -Proxy #{http_proxy}
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
- if http_proxy
336
- wget $MsiUrl -UseBasicParsing -OutFile "C:/puppet.msi" -Proxy #{http_proxy}
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.1
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-09 00:00:00.000000000 Z
11
+ date: 2017-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen