Sha256: ee9615824e21339db19dbfa050b5dce53a96649d5f596ff62ec3a9208abe2aac

Contents?: true

Size: 754 Bytes

Versions: 8

Compression:

Stored size: 754 Bytes

Contents

require "pathname"

require "vagrant-registration/plugin"

module VagrantPlugins
  module Registration
    lib_path = Pathname.new(File.expand_path("../vagrant-registration", __FILE__))
    autoload :Action, lib_path.join("action")
    #autoload :Errors, lib_path.join("errors")

    # This returns the path to the source of this plugin.
    #
    # @return [Pathname]
    def self.source_root
      @source_root ||= Pathname.new(File.expand_path("../../", __FILE__))
    end

    # Temporally load the extra capability files for Fedora
    load(File.join(self.source_root, 'plugins/guests/fedora/plugin.rb'))
    # Temporally load the extra capability files for Red Hat
    load(File.join(self.source_root, 'plugins/guests/redhat/plugin.rb'))
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
vagrant-registration-0.0.15 lib/vagrant-registration.rb
vagrant-registration-0.0.13 lib/vagrant-registration.rb
vagrant-registration-0.0.12 lib/vagrant-registration.rb
vagrant-registration-0.0.11 lib/vagrant-registration.rb
vagrant-registration-0.0.10 lib/vagrant-registration.rb
vagrant-registration-0.0.9 lib/vagrant-registration.rb
vagrant-registration-0.0.8 lib/vagrant-registration.rb
vagrant-registration-0.0.7 lib/vagrant-registration.rb