Guests to V2

This commit is contained in:
Mitchell Hashimoto 2012-11-06 21:14:45 -08:00
parent 45f211b19e
commit 1d2beff649
18 changed files with 18 additions and 18 deletions

View File

@ -270,7 +270,7 @@ module Vagrant
def load_guest(guest)
@logger.info("Loading guest: #{guest}")
klass = Vagrant.plugin("1").manager.guests[guest]
klass = Vagrant.plugin("2").manager.guests[guest]
if klass.nil?
raise Errors::VMGuestError,

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins
module GuestArch
class Plugin < Vagrant.plugin("1")
class Plugin < Vagrant.plugin("2")
name "Arch guest"
description "Arch guest support."

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins
module GuestDebian
class Plugin < Vagrant.plugin("1")
class Plugin < Vagrant.plugin("2")
name "Debian guest"
description "Debian guest support."

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins
module GuestFedora
class Plugin < Vagrant.plugin("1")
class Plugin < Vagrant.plugin("2")
name "Fedora guest"
description "Fedora guest support."

View File

@ -1,6 +1,6 @@
module VagrantPlugins
module GuestFreeBSD
class Config < Vagrant.plugin("1", :config)
class Config < Vagrant.plugin("2", :config)
attr_accessor :halt_timeout
attr_accessor :halt_check_interval

View File

@ -5,7 +5,7 @@ module VagrantPlugins
# A general Vagrant system implementation for "freebsd".
#
# Contributed by Kenneth Vestergaard <kvs@binarysolutions.dk>
class Guest < Vagrant.plugin("1", :guest)
class Guest < Vagrant.plugin("2", :guest)
# Here for whenever it may be used.
class FreeBSDError < Vagrant::Errors::VagrantError
error_namespace("vagrant.guest.freebsd")

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins
module GuestFreeBSD
class Plugin < Vagrant.plugin("1")
class Plugin < Vagrant.plugin("2")
name "FreeBSD guest"
description "FreeBSD guest support."

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins
module GuestGentoo
class Plugin < Vagrant.plugin("1")
class Plugin < Vagrant.plugin("2")
name "Gentoo guest"
description "Gentoo guest support."

View File

@ -1,6 +1,6 @@
module VagrantPlugins
module GuestLinux
class Config < Vagrant.plugin("1", :config)
class Config < Vagrant.plugin("2", :config)
attr_accessor :halt_timeout
attr_accessor :halt_check_interval

View File

@ -4,7 +4,7 @@ require "vagrant"
module VagrantPlugins
module GuestLinux
class Guest < Vagrant.plugin("1", :guest)
class Guest < Vagrant.plugin("2", :guest)
class LinuxError < Vagrant::Errors::VagrantError
error_namespace("vagrant.guest.linux")
end

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins
module GuestLinux
class Plugin < Vagrant.plugin("1")
class Plugin < Vagrant.plugin("2")
name "Linux guest."
description "Linux guest support."

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins
module GuestOpenBSD
class Plugin < Vagrant.plugin("1")
class Plugin < Vagrant.plugin("2")
name "OpenBSD guest"
description "OpenBSD guest support."

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins
module GuestRedHat
class Plugin < Vagrant.plugin("1")
class Plugin < Vagrant.plugin("2")
name "RedHat guest"
description "RedHat guest support."

View File

@ -1,6 +1,6 @@
module VagrantPlugins
module GuestSolaris
class Config < Vagrant.plugin("1", :config)
class Config < Vagrant.plugin("2", :config)
attr_accessor :halt_timeout
attr_accessor :halt_check_interval
# This sets the command to use to execute items as a superuser. sudo is default

View File

@ -5,7 +5,7 @@ module VagrantPlugins
# A general Vagrant system implementation for "solaris".
#
# Contributed by Blake Irvin <b.irvin@modcloth.com>
class Guest < Vagrant.plugin("1", :guest)
class Guest < Vagrant.plugin("2", :guest)
# Here for whenever it may be used.
class SolarisError < Vagrant::Errors::VagrantError
error_namespace("vagrant.guest.solaris")

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins
module GuestSolaris
class Plugin < Vagrant.plugin("1")
class Plugin < Vagrant.plugin("2")
name "Solaris guest."
description "Solaris guest support."

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins
module GuestSuse
class Plugin < Vagrant.plugin("1")
class Plugin < Vagrant.plugin("2")
name "SUSE guest"
description "SUSE guest support."

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins
module GuestUbuntu
class Plugin < Vagrant.plugin("1")
class Plugin < Vagrant.plugin("2")
name "Ubuntu guest"
description "Ubuntu guest support."