Files
vagrant-libvirt/lib/vagrant-libvirt.rb

18 lines
491 B
Ruby
Raw Normal View History

2013-03-27 00:55:30 +01:00
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')
2013-03-27 00:55:30 +01:00
def self.source_root
@source_root ||= Pathname.new(File.expand_path('../../', __FILE__))
2013-03-27 09:43:32 +01:00
end
2013-03-27 00:55:30 +01:00
end
end
# make sure base module class defined before loading plugin
require 'vagrant-libvirt/plugin'