kitchen-environment 0.1.1 → 0.1.2
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 +5 -3
- 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: 5ccde6b528eb2dd30e2034aaac5c61ec2e0553b0
|
4
|
+
data.tar.gz: f210b3515522028a8c0167a6413b1440461dce23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2dedb815e48a2d32f02a4aa1d74f3909db80b890f7345030848dd1ba9d3113c0c798dea8e8294e69607c3e08734268b6e45027966bee2e20e3cc1215ab41a28
|
7
|
+
data.tar.gz: 263bb2272b264885a06581a7fb563bfca68f48fc00a8c6243b7c103bcbac712f6f349cdbb97587de7dedcfaeb377ba93348e921e59ed5dba39645359f2365b9e
|
@@ -33,9 +33,11 @@ module Kitchen
|
|
33
33
|
Dir.glob(File.join(tmpbooks_dir, "*")).each do | dir |
|
34
34
|
cookbook = File.basename(dir)
|
35
35
|
if cookbook != tmp_env
|
36
|
-
|
37
|
-
|
38
|
-
|
36
|
+
env_cookbook = File.join(path, cookbook)
|
37
|
+
if File.exist?(env_cookbook)
|
38
|
+
debug("copying #{env_cookbook} to #{dir}")
|
39
|
+
FileUtils.copy_entry(env_cookbook, dir)
|
40
|
+
end
|
39
41
|
end
|
40
42
|
end
|
41
43
|
FileUtils.rm_rf(path)
|