Built-in plugins use Vagrant.plugin("1", :config)

This commit is contained in:
Mitchell Hashimoto 2012-06-26 16:02:44 -07:00
parent 7258daf535
commit 590f648fc0
12 changed files with 12 additions and 12 deletions

View File

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

View File

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

View File

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

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins module VagrantPlugins
module Kernel_V1 module Kernel_V1
class NFSConfig < Vagrant::Plugin::V1::Config class NFSConfig < Vagrant.plugin("1", :config)
attr_accessor :map_uid attr_accessor :map_uid
attr_accessor :map_gid attr_accessor :map_gid
end end

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins module VagrantPlugins
module Kernel_V1 module Kernel_V1
class PackageConfig < Vagrant::Plugin::V1::Config class PackageConfig < Vagrant.plugin("1", :config)
attr_accessor :name attr_accessor :name
end end
end end

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins module VagrantPlugins
module Kernel_V1 module Kernel_V1
class SSHConfig < Vagrant::Plugin::V1::Config class SSHConfig < Vagrant.plugin("1", :config)
attr_accessor :username attr_accessor :username
attr_accessor :password attr_accessor :password
attr_accessor :host attr_accessor :host

View File

@ -2,7 +2,7 @@ require "vagrant"
module VagrantPlugins module VagrantPlugins
module Kernel_V1 module Kernel_V1
class VagrantConfig < Vagrant::Plugin::V1::Config class VagrantConfig < Vagrant.plugin("1", :config)
attr_accessor :dotfile_name attr_accessor :dotfile_name
attr_accessor :host attr_accessor :host
end end

View File

@ -7,7 +7,7 @@ require File.expand_path("../vm_subvm", __FILE__)
module VagrantPlugins module VagrantPlugins
module Kernel_V1 module Kernel_V1
class VMConfig < Vagrant::Plugin::V1::Config class VMConfig < Vagrant.plugin("1", :config)
DEFAULT_VM_NAME = :default DEFAULT_VM_NAME = :default
attr_accessor :name attr_accessor :name

View File

@ -79,7 +79,7 @@ module VagrantPlugins
end end
# This is the configuration which is available through `config.chef` # This is the configuration which is available through `config.chef`
class Config < Vagrant::Plugin::V1::Config class Config < Vagrant.plugin("1", :config)
# Shared config # Shared config
attr_accessor :node_name attr_accessor :node_name
attr_accessor :provisioning_path attr_accessor :provisioning_path

View File

@ -8,7 +8,7 @@ module VagrantPlugins
end end
class Puppet < Vagrant::Plugin::V1::Provisioner class Puppet < Vagrant::Plugin::V1::Provisioner
class Config < Vagrant::Plugin::V1::Config class Config < Vagrant.plugin("1", :config)
attr_accessor :manifest_file attr_accessor :manifest_file
attr_accessor :manifests_path attr_accessor :manifests_path
attr_accessor :module_path attr_accessor :module_path

View File

@ -6,7 +6,7 @@ module VagrantPlugins
end end
class PuppetServer < Vagrant::Plugin::V1::Provisioner class PuppetServer < Vagrant::Plugin::V1::Provisioner
class Config < Vagrant::Plugin::V1::Config class Config < Vagrant.plugin("1", :config)
attr_accessor :puppet_server attr_accessor :puppet_server
attr_accessor :puppet_node attr_accessor :puppet_node
attr_accessor :options attr_accessor :options

View File

@ -4,7 +4,7 @@ require "tempfile"
module VagrantPlugins module VagrantPlugins
module Shell module Shell
class Provisioner < Vagrant::Plugin::V1::Provisioner class Provisioner < Vagrant::Plugin::V1::Provisioner
class Config < Vagrant::Plugin::V1::Config class Config < Vagrant.plugin("1", :config)
attr_accessor :inline attr_accessor :inline
attr_accessor :path attr_accessor :path
attr_accessor :upload_path attr_accessor :upload_path