Merge "Vagrant plugin check"
This commit is contained in:
commit
8f90e62b48
7
dev/vagrant/Vagrantfile
vendored
7
dev/vagrant/Vagrantfile
vendored
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user