From 396beb9faf0bc7499397c628fc04e167c43f5986 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 6 Jan 2012 17:36:51 -0800 Subject: [PATCH] Require tempfile in shell provisioner --- lib/vagrant/provisioners/shell.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/vagrant/provisioners/shell.rb b/lib/vagrant/provisioners/shell.rb index eea9e0e85..74e0fff5d 100644 --- a/lib/vagrant/provisioners/shell.rb +++ b/lib/vagrant/provisioners/shell.rb @@ -1,3 +1,5 @@ +require 'tempfile' + module Vagrant module Provisioners class Shell < Base @@ -15,8 +17,6 @@ module Vagrant end def validate(env, errors) - super - # Validate that the parameters are properly set if path && inline errors.add(I18n.t("vagrant.provisioners.shell.path_and_inline_set"))