aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-08-09 10:09:24 +0000
committerGerrit Code Review <review@openstack.org>2016-08-09 10:09:24 +0000
commit8f90e62b48e701164c8193929c6a8eb15aec2f19 (patch)
treeecf5ac9e227368fdf5181805fb47a40bbd702fd1
parent88f0fb20dc13ad88dcffd489e97a3850a879737d (diff)
parentcd8f68b43ea5dff2295c8ff94ce2dcf10f257c83 (diff)
downloadkolla-8f90e62b48e701164c8193929c6a8eb15aec2f19.tar.gz
kolla-8f90e62b48e701164c8193929c6a8eb15aec2f19.zip
Merge "Vagrant plugin check"
-rw-r--r--dev/vagrant/Vagrantfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev/vagrant/Vagrantfile b/dev/vagrant/Vagrantfile
index 270ffca0c..f59fafaec 100644
--- a/dev/vagrant/Vagrantfile
+++ b/dev/vagrant/Vagrantfile
@@ -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