vagrant-ohai 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant-ohai/action_configure_chef.rb +2 -3
- data/lib/vagrant-ohai/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: fb3cfd0aefad2ca148002f4b99c72b743a3ba17b
|
4
|
+
data.tar.gz: 1938b1f89dd17f9c32eb40637286bf8b7739a031
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99f6474e31adb38556212b6bb45000603074de176a86fcf1c9e4e2dc6ba0c6a7bd8280a3415bf890df99fc5ceab199fd5df2452298f472e70dbc2bd68e6080c0
|
7
|
+
data.tar.gz: 2d5f99b563d30489781b3a3eb050d63b388c7c0ae440b5427a7e5bbab0cbd223b6aac079acc97cd72afceb3507e99c6de1baebcadc23f213093345621358067b
|
@@ -9,7 +9,6 @@ module VagrantPlugins
|
|
9
9
|
@app = app
|
10
10
|
@env = env
|
11
11
|
@machine = env[:machine]
|
12
|
-
@tempfiles = []
|
13
12
|
register_custom_chef_config
|
14
13
|
end
|
15
14
|
|
@@ -23,8 +22,6 @@ module VagrantPlugins
|
|
23
22
|
tmp.puts 'Ohai::Config[:plugin_path] << "/etc/chef/ohai_plugins"'
|
24
23
|
tmp.write(File.read(current_conf)) if current_conf
|
25
24
|
tmp.close
|
26
|
-
# retain a reference to prevent tempfile from being auto cleaned up
|
27
|
-
@tempfiles << tmp
|
28
25
|
tmp
|
29
26
|
end
|
30
27
|
|
@@ -38,6 +35,8 @@ module VagrantPlugins
|
|
38
35
|
end
|
39
36
|
custom_config = ohai_custom_config(current_custom_config_path)
|
40
37
|
provisioner.config.instance_variable_set("@custom_config_path", custom_config.path)
|
38
|
+
# retain a reference to prevent tempfile from being auto cleaned up
|
39
|
+
provisioner.config.instance_variable_set("@__custom_config_tempfile__", custom_config)
|
41
40
|
end
|
42
41
|
end
|
43
42
|
end
|
data/lib/vagrant-ohai/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-ohai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Avishai Ish-Shalom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|