Debug commit
This commit is contained in:
parent
0cbf6970fc
commit
51e4118cc2
|
@ -1,4 +1,5 @@
|
||||||
require "set"
|
require "set"
|
||||||
|
require 'pry'
|
||||||
|
|
||||||
require "vagrant/config/v2/util"
|
require "vagrant/config/v2/util"
|
||||||
|
|
||||||
|
@ -63,6 +64,7 @@ module Vagrant
|
||||||
def validate(machine)
|
def validate(machine)
|
||||||
# Go through each of the configuration keys and validate
|
# Go through each of the configuration keys and validate
|
||||||
errors = {}
|
errors = {}
|
||||||
|
binding.pry
|
||||||
@keys.each do |_key, instance|
|
@keys.each do |_key, instance|
|
||||||
if instance.respond_to?(:validate)
|
if instance.respond_to?(:validate)
|
||||||
# Validate this single item, and if we have errors then
|
# Validate this single item, and if we have errors then
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
require "vagrant"
|
require "vagrant"
|
||||||
|
require 'pry'
|
||||||
|
|
||||||
require_relative "ssh_connect"
|
require_relative "ssh_connect"
|
||||||
|
|
||||||
|
|
|
@ -130,6 +130,7 @@ module VagrantPlugins
|
||||||
# Validate Trigger settings
|
# Validate Trigger settings
|
||||||
# TODO: Validate not called if there are guests defined in vagrantfile
|
# TODO: Validate not called if there are guests defined in vagrantfile
|
||||||
def validate(machine)
|
def validate(machine)
|
||||||
|
binding.pry
|
||||||
errors = _detected_errors
|
errors = _detected_errors
|
||||||
@_before_triggers.each do |bt|
|
@_before_triggers.each do |bt|
|
||||||
error = bt.validate(machine)
|
error = bt.validate(machine)
|
||||||
|
|
Loading…
Reference in New Issue