Permalink
Browse files

Point to TemplateRenderer properly in Chef provisioner base

  • Loading branch information...
1 parent 5bc0fa1 commit 627066c9869cfe162462cfb7d12927df5d5850eb @mitchellh committed Jun 28, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 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 @@ def chown_provisioning_folder
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,

0 comments on commit 627066c

Please sign in to comment.