Call `finalize!` properly on provider configurations

This commit is contained in:
Mitchell Hashimoto 2012-12-26 21:44:43 -08:00
parent e955596939
commit d54d58c09c
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ module VagrantPlugins
@logger.info("Configuring provider #{@name} with #{config_class}") @logger.info("Configuring provider #{@name} with #{config_class}")
@config = config_class.new @config = config_class.new
block.call(@config) if block block.call(@config) if block
@config.finalize!
end end
end end
end end