kitchen-chocolatey 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ecc25c98869489e6fd585189fe1106a9e8aa0cb1cb4d356188af54a9e1bcaf06
4
- data.tar.gz: 589d85b95e021d626cc79fcc25a76b178189f1187c5f6ec5a876d21e82956643
3
+ metadata.gz: 3924abb7e3bf09af8310596da3e8c80f6b200463e6c65e1eaeefdb01cce7f65d
4
+ data.tar.gz: 3fd72000402b233ac91c40e58e52d4524afcffcb35884590db60543f2042cb80
5
5
  SHA512:
6
- metadata.gz: 33c15d92f9e9395b96e9bda583e76735cb41d4669c6eaa11e4957cdcae2654d8c52499cd0d08d430808ae107f2a3fe0bbfe245926ee8f94e596b94c050abdd47
7
- data.tar.gz: ad6e448ddc3555b346fac5f42ed7df0dd5067ae7b6735eac71e641d19f84242de460ccba0694e9e310bc01f5eae825497afa0bd84d2905fe52d8092705f8b240
6
+ metadata.gz: be28953337abf8da2adac5c79eea2f5b16a57a07e949673933b2a95a5e71af01049729b8876270cde907c7d6f4a4b52780d8d03c8a10c1fdfba7111d333085b6
7
+ data.tar.gz: e8da58b8f2dd9dcbd237260aefcd73ca99af59ea1cbb28a6023d12620f91c904a9beb5ce1eacd0a507eb4cd7dc65d344f8332d333d391c626be983a34895961a
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kitchen
4
4
  module Chocolatey
5
- VERSION = '0.1.3'.freeze
5
+ VERSION = '0.1.4'.freeze
6
6
  end
7
7
  end
@@ -24,8 +24,9 @@ module Kitchen
24
24
 
25
25
  def install_command
26
26
  install_chocolatey = <<-EOH
27
-
28
- iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
27
+ if (-not (get-command choco -ea silentlycontinue)) {
28
+ iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
29
+ }
29
30
  EOH
30
31
 
31
32
  wrap_powershell_code(install_chocolatey)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-chocolatey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Murawski