Sha256: 6f63324e13f3d3717fedc64c23f2489e0f6bc35ffea4c0a06c3eb0dfcc79aadb
Contents?: true
Size: 984 Bytes
Versions: 1
Compression:
Stored size: 984 Bytes
Contents
require 'pathname' require 'vagrant-ovirt3/plugin' module VagrantPlugins module OVirtProvider lib_path = Pathname.new(File.expand_path("../vagrant-ovirt3", __FILE__)) autoload :Action, lib_path.join("action") autoload :Errors, lib_path.join("errors") autoload :Util, lib_path.join("util") @@ovirt_connection = nil @@ovirt_client = nil def self.ovirt_connection @@ovirt_connection end def self.ovirt_connection=(conn) @@ovirt_connection = conn end def self.ovirt_client @@ovirt_client end def self.ovirt_client=(conn) @@ovirt_client = conn end def self.source_root @source_root ||= Pathname.new(File.expand_path("../../", __FILE__)) end end end # Set default provider with bash environment variable like this: # export VAGRANT_DEFAULT_PROVIDER=ovirt3 Vagrant::Environment.class_eval do def default_provider (ENV['VAGRANT_DEFAULT_PROVIDER'] || :virtualbox).to_sym end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vagrant-ovirt3-1.0.0 | lib/vagrant-ovirt3.rb |