plugins/kernel_v2/config/vm_provisioner.rb in vagrant-unbundled-2.2.19.0 vs plugins/kernel_v2/config/vm_provisioner.rb in vagrant-unbundled-2.3.2.0
- old
+ new
@@ -98,11 +98,10 @@
super
@config = @config.dup if @config
end
def add_config(**options, &block)
- return if invalid?
-
+ # Don't skip if config is invalid. It might be a valid non-Ruby plugin
current = @config_class.new
current.set_options(options) if options
block.call(current) if block
current = @config.merge(current) if @config
@config = current