From 51e4118cc271dba2993894d6cd9154daee2461bc Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Wed, 14 Mar 2018 15:57:48 -0700 Subject: [PATCH] Debug commit --- lib/vagrant/config/v2/root.rb | 2 ++ plugins/kernel_v2/config/ssh.rb | 1 + plugins/kernel_v2/config/trigger.rb | 1 + 3 files changed, 4 insertions(+) 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)