Skip to content
Snippets Groups Projects
Commit 8f90e62b authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Vagrant plugin check"

parents 88f0fb20 cd8f68b4
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,13 @@ ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment