Turn provisioners to V2
This commit is contained in:
parent
81ca275792
commit
2de124e296
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module Chef
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "chef"
|
||||
description <<-DESC
|
||||
Provides support for provisioning your virtual machines with
|
||||
|
|
|
@ -8,7 +8,7 @@ module VagrantPlugins
|
|||
# This class is a base class where the common functionality shared between
|
||||
# chef-solo and chef-client provisioning are stored. This is **not an actual
|
||||
# provisioner**. Instead, {ChefSolo} or {ChefServer} should be used.
|
||||
class Base < Vagrant.plugin("1", :provisioner)
|
||||
class Base < Vagrant.plugin("2", :provisioner)
|
||||
include Vagrant::Util::Counter
|
||||
|
||||
def initialize(env, config)
|
||||
|
@ -85,7 +85,7 @@ module VagrantPlugins
|
|||
end
|
||||
|
||||
# This is the configuration which is available through `config.chef`
|
||||
class Config < Vagrant.plugin("1", :config)
|
||||
class Config < Vagrant.plugin("2", :config)
|
||||
# Shared config
|
||||
attr_accessor :node_name
|
||||
attr_accessor :provisioning_path
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module Puppet
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "puppet"
|
||||
description <<-DESC
|
||||
Provides support for provisioning your virtual machines with
|
||||
|
|
|
@ -7,8 +7,8 @@ module VagrantPlugins
|
|||
error_namespace("vagrant.provisioners.puppet")
|
||||
end
|
||||
|
||||
class Puppet < Vagrant.plugin("1", :provisioner)
|
||||
class Config < Vagrant.plugin("1", :config)
|
||||
class Puppet < Vagrant.plugin("2", :provisioner)
|
||||
class Config < Vagrant.plugin("2", :config)
|
||||
attr_accessor :manifest_file
|
||||
attr_accessor :manifests_path
|
||||
attr_accessor :module_path
|
||||
|
|
|
@ -5,8 +5,8 @@ module VagrantPlugins
|
|||
error_namespace("vagrant.provisioners.puppet_server")
|
||||
end
|
||||
|
||||
class PuppetServer < Vagrant.plugin("1", :provisioner)
|
||||
class Config < Vagrant.plugin("1", :config)
|
||||
class PuppetServer < Vagrant.plugin("2", :provisioner)
|
||||
class Config < Vagrant.plugin("2", :config)
|
||||
attr_accessor :puppet_server
|
||||
attr_accessor :puppet_node
|
||||
attr_accessor :options
|
||||
|
|
|
@ -2,7 +2,7 @@ require "vagrant"
|
|||
|
||||
module VagrantPlugins
|
||||
module Shell
|
||||
class Plugin < Vagrant.plugin("1")
|
||||
class Plugin < Vagrant.plugin("2")
|
||||
name "shell"
|
||||
description <<-DESC
|
||||
Provides support for provisioning your virtual machines with
|
||||
|
|
|
@ -3,8 +3,8 @@ require "tempfile"
|
|||
|
||||
module VagrantPlugins
|
||||
module Shell
|
||||
class Provisioner < Vagrant.plugin("1", :provisioner)
|
||||
class Config < Vagrant.plugin("1", :config)
|
||||
class Provisioner < Vagrant.plugin("2", :provisioner)
|
||||
class Config < Vagrant.plugin("2", :config)
|
||||
attr_accessor :inline
|
||||
attr_accessor :path
|
||||
attr_accessor :upload_path
|
||||
|
|
Loading…
Reference in New Issue