Sha256: 0c3582cfbd8ebf36264e42339d490538816702f86ffe4d4e64710dca68dcb7a4
Contents?: true
Size: 908 Bytes
Versions: 54
Compression:
Stored size: 908 Bytes
Contents
# frozen_string_literal: true require 'pathname' module VagrantPlugins # This is used to configure, manage, create and destroy zones where vagrant by itself cannot module ProviderZone lib_path = Pathname.new(File.expand_path('vagrant-zones', __dir__)) autoload :Action, lib_path.join('action') autoload :Executor, lib_path.join('executor') autoload :Driver, lib_path.join('driver') autoload :Errors, lib_path.join('errors') # This function returns the path to the source of this plugin # @return [Pathname] def self.source_root @source_root ||= Pathname.new(File.expand_path('..', __dir__)) end end end begin require 'vagrant' rescue LoadError raise 'The Vagrant vagrant-zones plugin must be run within Vagrant.' end raise 'The Vagrant vagrant-zones plugin is only compatible with Vagrant 2+.' if Vagrant::VERSION < '2' require 'vagrant-zones/plugin'
Version data entries
54 entries across 54 versions & 1 rubygems