From bd1def6b22230533bd7b9ec098739bd02c060d1a Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 14 Jun 2012 18:49:20 -0700 Subject: [PATCH] Renamespace Kernel to Kernel_V1 --- plugins/{kernel => kernel_v1}/config/nfs.rb | 2 +- plugins/{kernel => kernel_v1}/config/package.rb | 2 +- plugins/{kernel => kernel_v1}/config/ssh.rb | 2 +- plugins/{kernel => kernel_v1}/config/vagrant.rb | 2 +- plugins/{kernel => kernel_v1}/config/vm.rb | 2 +- plugins/{kernel => kernel_v1}/config/vm_provisioner.rb | 2 +- plugins/{kernel => kernel_v1}/config/vm_subvm.rb | 2 +- plugins/{kernel => kernel_v1}/plugin.rb | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) rename plugins/{kernel => kernel_v1}/config/nfs.rb (89%) rename plugins/{kernel => kernel_v1}/config/package.rb (87%) rename plugins/{kernel => kernel_v1}/config/ssh.rb (97%) rename plugins/{kernel => kernel_v1}/config/vagrant.rb (90%) rename plugins/{kernel => kernel_v1}/config/vm.rb (99%) rename plugins/{kernel => kernel_v1}/config/vm_provisioner.rb (99%) rename plugins/{kernel => kernel_v1}/config/vm_subvm.rb (94%) rename plugins/{kernel => kernel_v1}/plugin.rb (98%) diff --git a/plugins/kernel/config/nfs.rb b/plugins/kernel_v1/config/nfs.rb similarity index 89% rename from plugins/kernel/config/nfs.rb rename to plugins/kernel_v1/config/nfs.rb index 8c570390f..8df6f01d4 100644 --- a/plugins/kernel/config/nfs.rb +++ b/plugins/kernel_v1/config/nfs.rb @@ -1,7 +1,7 @@ require "vagrant" module VagrantPlugins - module Kernel + module Kernel_V1 class NFSConfig < Vagrant::Config::V1::Base attr_accessor :map_uid attr_accessor :map_gid diff --git a/plugins/kernel/config/package.rb b/plugins/kernel_v1/config/package.rb similarity index 87% rename from plugins/kernel/config/package.rb rename to plugins/kernel_v1/config/package.rb index 4713c2a8a..12d5a7e64 100644 --- a/plugins/kernel/config/package.rb +++ b/plugins/kernel_v1/config/package.rb @@ -1,7 +1,7 @@ require "vagrant" module VagrantPlugins - module Kernel + module Kernel_V1 class PackageConfig < Vagrant::Config::V1::Base attr_accessor :name end diff --git a/plugins/kernel/config/ssh.rb b/plugins/kernel_v1/config/ssh.rb similarity index 97% rename from plugins/kernel/config/ssh.rb rename to plugins/kernel_v1/config/ssh.rb index 3f50fb2bb..2302865d9 100644 --- a/plugins/kernel/config/ssh.rb +++ b/plugins/kernel_v1/config/ssh.rb @@ -1,7 +1,7 @@ require "vagrant" module VagrantPlugins - module Kernel + module Kernel_V1 class SSHConfig < Vagrant::Config::V1::Base attr_accessor :username attr_accessor :password diff --git a/plugins/kernel/config/vagrant.rb b/plugins/kernel_v1/config/vagrant.rb similarity index 90% rename from plugins/kernel/config/vagrant.rb rename to plugins/kernel_v1/config/vagrant.rb index 10dac641f..6f6500161 100644 --- a/plugins/kernel/config/vagrant.rb +++ b/plugins/kernel_v1/config/vagrant.rb @@ -1,7 +1,7 @@ require "vagrant" module VagrantPlugins - module Kernel + module Kernel_V1 class VagrantConfig < Vagrant::Config::V1::Base attr_accessor :dotfile_name attr_accessor :host diff --git a/plugins/kernel/config/vm.rb b/plugins/kernel_v1/config/vm.rb similarity index 99% rename from plugins/kernel/config/vm.rb rename to plugins/kernel_v1/config/vm.rb index 21d6ca4d8..c0bc7e1fc 100644 --- a/plugins/kernel/config/vm.rb +++ b/plugins/kernel_v1/config/vm.rb @@ -6,7 +6,7 @@ require File.expand_path("../vm_provisioner", __FILE__) require File.expand_path("../vm_subvm", __FILE__) module VagrantPlugins - module Kernel + module Kernel_V1 class VMConfig < Vagrant::Config::V1::Base attr_accessor :name attr_accessor :auto_port_range diff --git a/plugins/kernel/config/vm_provisioner.rb b/plugins/kernel_v1/config/vm_provisioner.rb similarity index 99% rename from plugins/kernel/config/vm_provisioner.rb rename to plugins/kernel_v1/config/vm_provisioner.rb index 52d4b5d22..1772593b9 100644 --- a/plugins/kernel/config/vm_provisioner.rb +++ b/plugins/kernel_v1/config/vm_provisioner.rb @@ -1,7 +1,7 @@ require 'log4r' module VagrantPlugins - module Kernel + module Kernel_V1 # Represents a single configured provisioner for a VM. class VagrantConfigProvisioner attr_reader :shortcut diff --git a/plugins/kernel/config/vm_subvm.rb b/plugins/kernel_v1/config/vm_subvm.rb similarity index 94% rename from plugins/kernel/config/vm_subvm.rb rename to plugins/kernel_v1/config/vm_subvm.rb index 7bc8c74a0..eca7e33fa 100644 --- a/plugins/kernel/config/vm_subvm.rb +++ b/plugins/kernel_v1/config/vm_subvm.rb @@ -1,7 +1,7 @@ require "vagrant/util/stacked_proc_runner" module VagrantPlugins - module Kernel + module Kernel_V1 # Represents a single sub-VM in a multi-VM environment. class VagrantConfigSubVM include Vagrant::Util::StackedProcRunner diff --git a/plugins/kernel/plugin.rb b/plugins/kernel_v1/plugin.rb similarity index 98% rename from plugins/kernel/plugin.rb rename to plugins/kernel_v1/plugin.rb index 7b930777f..9f87195f8 100644 --- a/plugins/kernel/plugin.rb +++ b/plugins/kernel_v1/plugin.rb @@ -1,7 +1,7 @@ require "vagrant" module VagrantPlugins - module Kernel + module Kernel_V1 # This is the "kernel" of Vagrant and contains the configuration classes # that make up the core of Vagrant. class Plugin < Vagrant.plugin("1")