Merge "Vagrant plugin check"

This commit is contained in:
Jenkins 2016-08-09 10:09:24 +00:00 committed by Gerrit Code Review
commit 8f90e62b48

View File

@ -3,6 +3,13 @@
require "ipaddr" require "ipaddr"
# Check for required plugin(s)
['vagrant-hostmanager'].each do |plugin|
unless Vagrant.has_plugin?(plugin)
raise "#{plugin} plugin not found. Please install it via 'vagrant plugin install #{plugin}'"
end
end
class VagrantConfigMissing < StandardError class VagrantConfigMissing < StandardError
end end