Sha256: 5227259666e267e7bc16a9034e602090d40fa90710306d1bb2ff44b9b5da93ed

Contents?: true

Size: 542 Bytes

Versions: 2

Compression:

Stored size: 542 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')

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

    # 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

2 entries across 2 versions & 1 rubygems

Version Path
vagrant-registration-1.0.1 lib/vagrant-registration.rb
vagrant-registration-1.0.0 lib/vagrant-registration.rb