Sha256: c60adbd1c0e2b85652db2dc5aa372a44da8577d810075b897dcb4245f81de905
Contents?: true
Size: 1.05 KB
Versions: 3
Compression:
Stored size: 1.05 KB
Contents
require 'log4r' require 'pathname' require 'vagrant-ovirt4/plugin' module VagrantPlugins module OVirtProvider lib_path = Pathname.new(File.expand_path("../vagrant-ovirt4", __FILE__)) autoload :Action, lib_path.join("action") autoload :Errors, lib_path.join("errors") autoload :Util, lib_path.join("util") @@logger = Log4r::Logger.new("vagrant_ovirt4::provider") @@ovirt_connection = nil @@vms_service = nil def self.ovirt_connection @@logger.warn('Use of deprecated OVirtProvider.ovirt_connection detected.') @@ovirt_connection end def self.ovirt_connection=(conn) @@ovirt_connection = conn end def self.vms_service @@logger.warn('Use of deprecated OVirtProvider.vms_service detected.') @@vms_service end def self.vms_service=(conn) @@vms_service = conn end # 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 end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vagrant-ovirt4-2.2.0 | lib/vagrant-ovirt4.rb |
vagrant-ovirt4-2.1.3 | lib/vagrant-ovirt4.rb |
vagrant-ovirt4-2.1.0 | lib/vagrant-ovirt4.rb |