kitchen-environment 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kitchen/provisioner/environment.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de20e5ed057503c8096f074766bca0b3f5224a2e
|
4
|
+
data.tar.gz: 261ceb0d7042b5232b16a79c5e1eb59720821245
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45c3dd448703740b52e19a103e11111d038bb5857e3c106fa139931ed3e7049019fc49740e60c396f8786ddb1f4babec80803997fbb59daa07b4b9e756755aae
|
7
|
+
data.tar.gz: aeb7c3fbc45731515293b32bf2bd0e391e21799a1005e0e86c134a97740bd95f65c92b7f766eb807845f70b744699f34dee12172043ebdbe211f4ee412c8ddc0
|
@@ -30,6 +30,10 @@ module Kitchen
|
|
30
30
|
Kitchen.mutex.synchronize do
|
31
31
|
::Berkshelf::Berksfile.from_file(env_berksfile).vendor(path)
|
32
32
|
|
33
|
+
# we do this because the vendoring converts metadayta.rb to json
|
34
|
+
# any subsequent berks command on the vendored cookbook will fail
|
35
|
+
FileUtils.rm_rf Dir.glob("#{path}/**/Berksfile*")
|
36
|
+
|
33
37
|
Dir.glob(File.join(tmpbooks_dir, "*")).each do | dir |
|
34
38
|
cookbook = File.basename(dir)
|
35
39
|
if cookbook != tmp_env
|