vagrant-berkshelf 4.0.1 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/vagrant-berkshelf/action/check.rb +5 -0
- data/lib/vagrant-berkshelf/action/upload.rb +3 -3
- data/lib/vagrant-berkshelf/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4e3d407e177686e548c0032ea30e25eb7b91bc2
|
4
|
+
data.tar.gz: 645273f25a4a346055111516602f2070d5eb4b3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87e6a5e45f3887ebc686ff4b4b03d29987769ba154512a1a31b70854f6e5fc618f675ae41d23888da2c1e59919a642d1f8168191e991916bcc8508bc7a325b93
|
7
|
+
data.tar.gz: 3381607d856c46ae77153255619bfaf27cbe9cfc8567bab36f32d5a880ac249f85364f1745f543c08359ded750a4db533fa52769088a557c417ab7c729c5ac90
|
data/CHANGELOG.md
CHANGED
@@ -57,7 +57,7 @@ module VagrantPlugins
|
|
57
57
|
tmpfile.rewind
|
58
58
|
yield tmpfile.path
|
59
59
|
ensure
|
60
|
-
if defined?(tmpfile)
|
60
|
+
if defined?(tmpfile) && !tmpfile.nil?
|
61
61
|
tmpfile.close
|
62
62
|
tmpfile.unlink
|
63
63
|
end
|
@@ -70,7 +70,7 @@ module VagrantPlugins
|
|
70
70
|
path = File.expand_path(ENV['BERKSHELF_CONFIG'] || '~/.berkshelf/config.json')
|
71
71
|
|
72
72
|
if File.exist?(path)
|
73
|
-
JSON.parse(File.read(), symbolize_names: true)
|
73
|
+
JSON.parse(File.read(path), symbolize_names: true)
|
74
74
|
else
|
75
75
|
{}
|
76
76
|
end
|
@@ -86,7 +86,7 @@ module VagrantPlugins
|
|
86
86
|
env[:machine].ui.info "Uploading cookbooks to #{provisioner.config.chef_server_url}"
|
87
87
|
berks("upload",
|
88
88
|
config: config,
|
89
|
-
berksfile:
|
89
|
+
berksfile: env[:machine].config.berkshelf.berksfile_path,
|
90
90
|
force: true,
|
91
91
|
freeze: false,
|
92
92
|
)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-berkshelf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamie Winsor
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-12-
|
13
|
+
date: 2014-12-31 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: spork
|