8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# File 'lib/beaker/hypervisor.rb', line 8
def self.create type, hosts_to_provision, options, config
@logger = options[:logger]
@logger.notify("Beaker::Hypervisor, found some #{type} boxes to create")
case type
when /aix/
Beaker::Aixer.new hosts_to_provision, options, config
when /solaris/
Beaker::Solaris.new hosts_to_provision, options, config
when /vsphere/
Beaker::Vsphere.new hosts_to_provision, options, config
when /fusion/
Beaker::Fusion.new hosts_to_provision, options, config
when /blimpy/
Beaker::Blimper.new hosts_to_provision, options, config
when /vcloud/
Beaker::Vcloud.new hosts_to_provision, options, config
when /vagrant/
Beaker::Vagrant.new hosts_to_provision, options, config
end
end
|