mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
new version and small changes
This commit is contained in:
@@ -4,11 +4,10 @@ rescue LoadError
|
||||
raise 'The Vagrant Libvirt plugin must be run within Vagrant.'
|
||||
end
|
||||
|
||||
|
||||
# This is a sanity check to make sure no one is attempting to install
|
||||
# this into an early Vagrant version.
|
||||
if Vagrant::VERSION < '1.1.0'
|
||||
raise 'The Vagrant Libvirt plugin is only compatible with Vagrant 1.1+'
|
||||
if Vagrant::VERSION < '1.3.0'
|
||||
raise 'The Vagrant Libvirt plugin is only compatible with Vagrant 1.3+'
|
||||
end
|
||||
|
||||
module VagrantPlugins
|
||||
@@ -19,7 +18,6 @@ module VagrantPlugins
|
||||
Vagrant plugin to manage VMs in libvirt.
|
||||
DESC
|
||||
|
||||
|
||||
config('libvirt', :provider) do
|
||||
require_relative 'config'
|
||||
Config
|
||||
@@ -34,14 +32,13 @@ module VagrantPlugins
|
||||
Provider
|
||||
end
|
||||
|
||||
|
||||
# This initializes the internationalization strings.
|
||||
def self.setup_i18n
|
||||
I18n.load_path << File.expand_path('locales/en.yml', ProviderLibvirt.source_root)
|
||||
I18n.load_path << File.expand_path('locales/en.yml',
|
||||
ProviderLibvirt.source_root)
|
||||
I18n.reload!
|
||||
end
|
||||
|
||||
|
||||
# This sets up our log level to be whatever VAGRANT_LOG is.
|
||||
def self.setup_logging
|
||||
require 'log4r'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
module VagrantPlugins
|
||||
module ProviderLibvirt
|
||||
VERSION = '0.0.7'
|
||||
VERSION = '0.0.8'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user