kitchen-chocolatey 0.1.4 → 0.1.5
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 -3
- 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: f3ed9a6980b8c77b809f552c3278e4287e735c8b589a7e3086b7cdb74f05a915
|
4
|
+
data.tar.gz: 4be262500a304cc4bc4210ced4c82aa74319937eb16287f2f27f60c7a5bee423
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 545d944ff60b28ee9e4bcf79100acd72630cdea3c4407a1372ee300aabf9c165c9ff451c3b66077ae7ed78fe7f23f54c6d22eb9f59a94a7046af9f2efe6f1940
|
7
|
+
data.tar.gz: c72c0cd0fd0e5479a9ce133307116098ab394627fc9b5687ba67904e623d427d4cff3594333a3c4d4367aa540f98b8b474eb01ed27f3e6283c052c2ba5bf8ef9
|
@@ -47,7 +47,7 @@ module Kitchen
|
|
47
47
|
|
48
48
|
tmpdata_dir = File.join(sandbox_path, "packages")
|
49
49
|
FileUtils.mkdir_p(tmpdata_dir)
|
50
|
-
FileUtils.cp_r(Util.list_directory(config[:
|
50
|
+
FileUtils.cp_r(Util.list_directory(config[:packages_path]), tmpdata_dir)
|
51
51
|
end
|
52
52
|
|
53
53
|
def prepare_command
|
@@ -56,9 +56,9 @@ module Kitchen
|
|
56
56
|
|
57
57
|
def run_command
|
58
58
|
scripts = if config[:packages_path]
|
59
|
-
"choco install #{config[:package_name]} -
|
59
|
+
"choco install #{config[:package_name]} -d -s #{config[:root_path]}/packages"
|
60
60
|
else
|
61
|
-
"choco install #{config[:package_name]} -
|
61
|
+
"choco install #{config[:package_name]} -d"
|
62
62
|
end
|
63
63
|
wrap_powershell_code(scripts)
|
64
64
|
end
|