provisioners/puppet: fix exception with module paths [GH-5123]

This commit is contained in:
Mitchell Hashimoto 2015-01-06 22:49:53 -08:00
parent 2ece08c019
commit 95e1c19f22
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ module VagrantPlugins
# Setup the module paths
@module_paths = []
@expanded_module_paths.each_with_index do |path, _|
key = Digest::MD5.hexdigest(path)
key = Digest::MD5.hexdigest(path.to_s)
@module_paths << [path, File.join(config.temp_dir, "modules-#{key}")]
end