From 627066c9869cfe162462cfb7d12927df5d5850eb Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 28 Jun 2012 08:29:48 -0700 Subject: [PATCH] Point to TemplateRenderer properly in Chef provisioner base --- plugins/provisioners/chef/provisioner/base.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/provisioners/chef/provisioner/base.rb b/plugins/provisioners/chef/provisioner/base.rb index 6de7d0c83..313c0bdbf 100644 --- a/plugins/provisioners/chef/provisioner/base.rb +++ b/plugins/provisioners/chef/provisioner/base.rb @@ -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,