Vagrantfile: Require vagrant >= 2.2.0

Require vagrant >= 2.2.0, the earliest version supporting
config.vagrant.plugins
This commit is contained in:
Brendan Shanks 2019-06-26 12:20:21 -07:00 committed by Andrew Eikum
parent 44f447e9a6
commit ee5de7e3be

2
Vagrantfile vendored
View file

@ -1,6 +1,8 @@
# -*- mode: ruby -*- # -*- mode: ruby -*-
# vi: set ft=ruby : # vi: set ft=ruby :
Vagrant.require_version ">= 2.2.0"
module OS module OS
def OS.windows? def OS.windows?
(/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil (/cygwin|mswin|mingw|bccwin|wince|emx/ =~ RUBY_PLATFORM) != nil