Point to TemplateRenderer properly in Chef provisioner base
This commit is contained in:
parent
5bc0fa1dff
commit
627066c986
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue