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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0d0a9f3a745d2df91a57d898ecbf6aeaeba33e6
4
- data.tar.gz: e182c75c43d40941dad353e3d2f8403742527138
3
+ metadata.gz: fb3cfd0aefad2ca148002f4b99c72b743a3ba17b
4
+ data.tar.gz: 1938b1f89dd17f9c32eb40637286bf8b7739a031
5
5
  SHA512:
6
- metadata.gz: 7f897a084f8946c0529bf390c2702f9ade73056b6eea10f3f04f7732c82bcf288f5246b57b7cc22daead5673b7ec84b45e561cb52354738ae5fc5c9f53a39c4e
7
- data.tar.gz: 3613b2feca5bd22ecb7ba4013475b63455867f8b3cd47d30a145099a42ee03e45fb344e5dbd7ba2647708f8a8fa799aac659c66b4d677a21f5a9d9e08d25f1c6
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
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Ohai
3
- VERSION = "0.1.10"
3
+ VERSION = "0.1.11"
4
4
  end
5
5
  end
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.10
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-01-09 00:00:00.000000000 Z
11
+ date: 2015-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler