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 GuestFreeBSD
class Config < Vagrant::Plugin::V1::Config
class Config < Vagrant.plugin("1", :config)
attr_accessor :halt_timeout
attr_accessor :halt_check_interval

View File

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

View File

@ -1,6 +1,6 @@
module VagrantPlugins
module GuestSolaris
class Config < Vagrant::Plugin::V1::Config
class Config < Vagrant.plugin("1", :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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,7 +6,7 @@ module VagrantPlugins
end
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_node
attr_accessor :options

View File

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