From feeaa69615abc7e97c529ef289cc9e574e290dbd Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 3 Feb 2014 22:28:41 +0100 Subject: [PATCH] kernel/v2: finalize the provisioner configs --- plugins/kernel_v2/config/vm.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/kernel_v2/config/vm.rb b/plugins/kernel_v2/config/vm.rb index 0c8a6e859..9a64eed94 100644 --- a/plugins/kernel_v2/config/vm.rb +++ b/plugins/kernel_v2/config/vm.rb @@ -360,6 +360,11 @@ module VagrantPlugins @__compiled_provider_configs[name] = config end + # Finaliez all the provisioners + @provisioners.each do |p| + p.config.finalize! if !p.invalid? + end + @__synced_folders.each do |id, options| if options[:nfs] options[:type] = :nfs