Skip to content
Snippets Groups Projects
Commit cd8f68b4 authored by Matthew Montgomery's avatar Matthew Montgomery
Browse files

Vagrant plugin check

- Adds support for validating that all required Vagrant plugins have
  been installed.

Closes-Bug: 1606575
Change-Id: I06002ef9d43d081b5ae9f326377e5009b4e62e36
parent a06a57ba
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,13 @@
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
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