Close the tempfile for shell provisioner [GH-1040]

This commit is contained in:
Mitchell Hashimoto 2013-02-07 15:23:18 -08:00
parent 883efcf282
commit 2b4920b4b6
1 changed files with 1 additions and 0 deletions

View File

@ -54,6 +54,7 @@ module VagrantPlugins
begin begin
file.write(config.inline) file.write(config.inline)
file.fsync file.fsync
file.close
yield file.path yield file.path
ensure ensure
file.close file.close