Point to TemplateRenderer properly in Chef provisioner base

This commit is contained in:
Mitchell Hashimoto 2012-06-28 08:29:48 -07:00
parent 5bc0fa1dff
commit 627066c986
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
require 'tempfile'
require "vagrant/util/template_renderer"
module VagrantPlugins
module Chef
module Provisioner
@ -37,7 +39,7 @@ module VagrantPlugins
end
def setup_config(template, filename, template_vars)
config_file = TemplateRenderer.render(template, {
config_file = Vagrant::Util::TemplateRenderer.render(template, {
:log_level => config.log_level.to_sym,
:http_proxy => config.http_proxy,
:http_proxy_user => config.http_proxy_user,