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 +4 -4
- data/lib/kitchen-chocolatey/version.rb +1 -1
- data/lib/kitchen/provisioner/chocolatey.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3924abb7e3bf09af8310596da3e8c80f6b200463e6c65e1eaeefdb01cce7f65d
|
4
|
+
data.tar.gz: 3fd72000402b233ac91c40e58e52d4524afcffcb35884590db60543f2042cb80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be28953337abf8da2adac5c79eea2f5b16a57a07e949673933b2a95a5e71af01049729b8876270cde907c7d6f4a4b52780d8d03c8a10c1fdfba7111d333085b6
|
7
|
+
data.tar.gz: e8da58b8f2dd9dcbd237260aefcd73ca99af59ea1cbb28a6023d12620f91c904a9beb5ce1eacd0a507eb4cd7dc65d344f8332d333d391c626be983a34895961a
|
@@ -24,8 +24,9 @@ module Kitchen
|
|
24
24
|
|
25
25
|
def install_command
|
26
26
|
install_chocolatey = <<-EOH
|
27
|
-
|
28
|
-
|
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)
|