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

Version Path
vagrant-zones-0.1.98 lib/vagrant-zones.rb
vagrant-zones-0.1.97 lib/vagrant-zones.rb
vagrant-zones-0.1.96 lib/vagrant-zones.rb
vagrant-zones-0.1.94 lib/vagrant-zones.rb
vagrant-zones-0.1.93 lib/vagrant-zones.rb
vagrant-zones-0.1.92 lib/vagrant-zones.rb
vagrant-zones-0.1.91 lib/vagrant-zones.rb
vagrant-zones-0.1.90 lib/vagrant-zones.rb
vagrant-zones-0.1.89 lib/vagrant-zones.rb
vagrant-zones-0.1.88 lib/vagrant-zones.rb
vagrant-zones-0.1.87 lib/vagrant-zones.rb
vagrant-zones-0.1.86 lib/vagrant-zones.rb
vagrant-zones-0.1.85 lib/vagrant-zones.rb
vagrant-zones-0.1.84 lib/vagrant-zones.rb
vagrant-zones-0.1.83 lib/vagrant-zones.rb
vagrant-zones-0.1.82 lib/vagrant-zones.rb
vagrant-zones-0.1.81 lib/vagrant-zones.rb
vagrant-zones-0.1.80 lib/vagrant-zones.rb
vagrant-zones-0.1.79 lib/vagrant-zones.rb
vagrant-zones-0.1.78 lib/vagrant-zones.rb