Default the puppet config environment variables to an empty hash

This commit is contained in:
Chris Roberts 2016-10-27 15:14:13 -07:00
parent 9b12d4db48
commit 58c3be9344
1 changed files with 4 additions and 3 deletions

View File

@ -87,9 +87,10 @@ module VagrantPlugins
if @manifest_file == UNSET_VALUE
@manifest_file = nil
end
if @environment_variables == UNSET_VALUE
@environment_variables = nil
end
end
if @environment_variables == UNSET_VALUE
@environment_variables = {}
end
@binary_path = nil if @binary_path == UNSET_VALUE