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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4f056012ff1330ea0148a701a4320379b6de715f
4
- data.tar.gz: f262eee91caf3adefeb545c4779345f6c5718c45
3
+ metadata.gz: 69c9924793c206c38641744a75a49f7d4835242b
4
+ data.tar.gz: 17337388f53565ba5e7a2369a56005d7d31a457f
5
5
  SHA512:
6
- metadata.gz: d782ca99c27a0a14277b43b78379e6d23c2b23960215aad33fbac4bae9e91f5403fb7bb390bd58f7a85106aa52c47d11b6b5051da5e28bde21a7c0fc9685f191
7
- data.tar.gz: 5defe573c43cf4afb9acd31bc0e97bc7cf84f4bf90c2cd681930eb62114cd9d6ad0325cb1556c3d98f15e8e0eee7de5beb61bf4ac74bddc5b947fc0d203b37b5
6
+ metadata.gz: 36def71197655a55956868839ca97668ba7d826cc466aa2ac5668cd5699af7f9e5064d49f0a09fb33b620081544843031c01af3b8aba313f114e05dc89a70ef3
7
+ data.tar.gz: f4fbd66dd28433112011cad62dbad17a43b9a6d9ef9ecea751492b8f33ebcf1496124ee88dc8df9869aa7c57a278eef7ab03c1eb393ace6ae12c89e371ac86eb
@@ -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 git@github.com:Shopify/cookbooks #{escape(cookbooks_path)} 2>&1")
82
+ system!("git clone #{env[:machine].config.cookbooks.git} #{escape(cookbooks_path)} 2>&1")
81
83
  end
82
84
 
83
85
  def escape(path)
@@ -1,5 +1,5 @@
1
1
  module Vagrant
2
2
  module Cookbooks
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-cookbooks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Eskildsen