1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-13 01:00:23 +02:00

Skip vagrant disksize option if no plugin.

Previously, `vagrant up` would bail if no `vagrant-disksize` plugin was
installed. This option is just a nice-to-have, so skip it rather than
bailing.
This commit is contained in:
Mike Palmiotto
2019-12-17 21:47:19 -05:00
committed by David Steele
parent ac35dcac39
commit d89d9f1c52

4
test/Vagrantfile vendored
View File

@ -8,7 +8,9 @@ Vagrant.configure(2) do |config|
config.vm.box_version = "20180719.0.0"
# vagrant plugin install vagrant-disksize
config.disksize.size = '64GB'
if Vagrant.has_plugin?('vagrant-disksize')
config.disksize.size = '64GB'
end
config.vm.provider :virtualbox do |vb|
vb.name = "pgbackrest-test"