Sha256: b3e0eb7992ac6c1ee7f89ab56bc77cf8e1102a67d2640b21f2898b379ccc3155
Contents?: true
Size: 853 Bytes
Versions: 23
Compression:
Stored size: 853 Bytes
Contents
# frozen_string_literal: true require 'pathname' module VagrantPlugins module ProviderLibvirt lib_path = Pathname.new(File.expand_path('../vagrant-libvirt', __FILE__)) autoload :Action, lib_path.join('action') autoload :Errors, lib_path.join('errors') autoload :Util, lib_path.join('util') def self.source_root @source_root ||= Pathname.new(File.expand_path('../../', __FILE__)) end end end begin require 'vagrant' rescue LoadError raise 'The Vagrant Libvirt plugin must be run within Vagrant.' end # This is a sanity check to make sure no one is attempting to install # this into an early Vagrant version. if Vagrant::VERSION < '1.5.0' raise 'The Vagrant Libvirt plugin is only compatible with Vagrant 1.5+.' end # make sure base module class defined before loading plugin require 'vagrant-libvirt/plugin'
Version data entries
23 entries across 23 versions & 1 rubygems