diff --git a/lib/vagrant/config/v2/root.rb b/lib/vagrant/config/v2/root.rb index b41e5c031..e2d33fd42 100644 --- a/lib/vagrant/config/v2/root.rb +++ b/lib/vagrant/config/v2/root.rb @@ -1,4 +1,5 @@ require "set" +require 'pry' require "vagrant/config/v2/util" @@ -63,6 +64,7 @@ module Vagrant def validate(machine) # Go through each of the configuration keys and validate errors = {} + binding.pry @keys.each do |_key, instance| if instance.respond_to?(:validate) # Validate this single item, and if we have errors then diff --git a/plugins/kernel_v2/config/ssh.rb b/plugins/kernel_v2/config/ssh.rb index 1dc3d51c9..4efd89951 100644 --- a/plugins/kernel_v2/config/ssh.rb +++ b/plugins/kernel_v2/config/ssh.rb @@ -1,4 +1,5 @@ require "vagrant" +require 'pry' require_relative "ssh_connect" diff --git a/plugins/kernel_v2/config/trigger.rb b/plugins/kernel_v2/config/trigger.rb index 1cbd88a25..25d63c7a3 100644 --- a/plugins/kernel_v2/config/trigger.rb +++ b/plugins/kernel_v2/config/trigger.rb @@ -130,6 +130,7 @@ module VagrantPlugins # Validate Trigger settings # TODO: Validate not called if there are guests defined in vagrantfile def validate(machine) + binding.pry errors = _detected_errors @_before_triggers.each do |bt| error = bt.validate(machine)