Check if the vagrant-berkshelf plugin is available
Change-Id: Ie615cf81be40b8395d8e7672e59407cc4925b410
This commit is contained in:
parent
452fe9cfb4
commit
cedb0f4e0d
5
Vagrantfile
vendored
5
Vagrantfile
vendored
@ -3,6 +3,11 @@
|
||||
|
||||
VAGRANTFILE_API_VERSION = "2" # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
|
||||
|
||||
unless Vagrant.has_plugin?("vagrant-berkshelf")
|
||||
raise "The needed plugin vagrant-berkshelf is not available.
|
||||
Install it by calling 'vagrant plugin install vagrant-berkshelf'."
|
||||
end
|
||||
|
||||
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||||
# Settings for all vms
|
||||
config.berkshelf.enabled = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user