From a548094690207a198d8137eb73596bc5d9fc1ebd Mon Sep 17 00:00:00 2001 From: GY Date: Sun, 16 Jul 2017 19:53:42 -0400 Subject: [PATCH] Changed Ohai::Config to Ohai::config --- lib/vagrant-ohai/action_configure_chef.rb | 2 +- lib/vagrant-ohai/version.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant-ohai/action_configure_chef.rb b/lib/vagrant-ohai/action_configure_chef.rb index 0748453..1cfa636 100644 --- a/lib/vagrant-ohai/action_configure_chef.rb +++ b/lib/vagrant-ohai/action_configure_chef.rb @@ -19,7 +19,7 @@ def call(env) private def ohai_custom_config(current_conf) tmp = Tempfile.new(["chef-custom-config", ".rb"]) - tmp.puts 'Ohai::Config[:plugin_path] << "/etc/chef/ohai_plugins"' + tmp.puts 'Ohai::config[:plugin_path] << "/etc/chef/ohai_plugins"' tmp.write(File.read(current_conf)) if current_conf tmp.close tmp diff --git a/lib/vagrant-ohai/version.rb b/lib/vagrant-ohai/version.rb index 490b447..2242ca0 100644 --- a/lib/vagrant-ohai/version.rb +++ b/lib/vagrant-ohai/version.rb @@ -1,5 +1,5 @@ module VagrantPlugins module Ohai - VERSION = "0.1.13" + VERSION = "0.1.14" end end