From 80f4d3bf3890e353bb7e6d277fb1cdb0ea83e4b6 Mon Sep 17 00:00:00 2001 From: dima Date: Sat, 3 Aug 2013 22:26:54 +0200 Subject: [PATCH] fix for Hiroshi Miura patch --- lib/vagrant-libvirt/plugin.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/vagrant-libvirt/plugin.rb b/lib/vagrant-libvirt/plugin.rb index 8058167..0457b76 100644 --- a/lib/vagrant-libvirt/plugin.rb +++ b/lib/vagrant-libvirt/plugin.rb @@ -14,14 +14,14 @@ end module VagrantPlugins module ProviderLibvirt class Plugin < Vagrant.plugin('2') - name "libvirt" + name 'libvirt' description <<-DESC Vagrant plugin to manage VMs in libvirt. DESC - config("libvirt", :provider) do - require_relative "config" + config('libvirt', :provider) do + require_relative 'config' Config end @@ -37,7 +37,7 @@ module VagrantPlugins # This initializes the internationalization strings. def self.setup_i18n - I18n.load_path << File.expand_path("locales/en.yml", Libvirt.source_root) + I18n.load_path << File.expand_path("locales/en.yml", ProviderLibvirt.source_root) I18n.reload! end