2012-11-07 05:28:44 +00:00
|
|
|
require "vagrant/util/stacked_proc_runner"
|
|
|
|
|
|
|
|
module VagrantPlugins
|
|
|
|
module Kernel_V2
|
|
|
|
# Represents a single sub-VM in a multi-VM environment.
|
|
|
|
class VagrantConfigSubVM
|
|
|
|
include Vagrant::Util::StackedProcRunner
|
|
|
|
|
2013-01-31 03:24:09 +00:00
|
|
|
# Returns an array of the configuration procs in [version, proc]
|
|
|
|
# format.
|
|
|
|
#
|
|
|
|
# @return [Array]
|
|
|
|
attr_reader :config_procs
|
|
|
|
|
2012-11-07 05:28:44 +00:00
|
|
|
attr_reader :options
|
|
|
|
|
|
|
|
def initialize
|
2013-01-31 03:24:09 +00:00
|
|
|
@config_procs = []
|
|
|
|
@options = {}
|
2012-11-07 05:28:44 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|