vagrant-cookbooks 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant/cookbooks.rb +3 -1
- data/lib/vagrant/cookbooks/version.rb +1 -1
- 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: 69c9924793c206c38641744a75a49f7d4835242b
|
4
|
+
data.tar.gz: 17337388f53565ba5e7a2369a56005d7d31a457f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36def71197655a55956868839ca97668ba7d826cc466aa2ac5668cd5699af7f9e5064d49f0a09fb33b620081544843031c01af3b8aba313f114e05dc89a70ef3
|
7
|
+
data.tar.gz: f4fbd66dd28433112011cad62dbad17a43b9a6d9ef9ecea751492b8f33ebcf1496124ee88dc8df9869aa7c57a278eef7ab03c1eb393ace6ae12c89e371ac86eb
|
data/lib/vagrant/cookbooks.rb
CHANGED
@@ -50,6 +50,8 @@ module Vagrant
|
|
50
50
|
else
|
51
51
|
clone_cookbooks
|
52
52
|
end
|
53
|
+
|
54
|
+
@app.call(env)
|
53
55
|
end
|
54
56
|
|
55
57
|
private
|
@@ -77,7 +79,7 @@ module Vagrant
|
|
77
79
|
|
78
80
|
def clone_cookbooks
|
79
81
|
env[:ui].info "Cloning cookbooks"
|
80
|
-
system!("git clone
|
82
|
+
system!("git clone #{env[:machine].config.cookbooks.git} #{escape(cookbooks_path)} 2>&1")
|
81
83
|
end
|
82
84
|
|
83
85
|
def escape(path)
|