Method: RSpecSystem::NodeSet::Openstack#initialize

Defined in:
lib/rspec-system/node_set/openstack.rb

#initialize(name, config, custom_prefabs_path, options) ⇒ Openstack

Returns a new instance of Openstack.



23
24
25
26
27
28
# File 'lib/rspec-system/node_set/openstack.rb', line 23

def initialize(name, config, custom_prefabs_path, options)
  super
  @vmconf = read_config
  @now = Time.now.strftime '%Y%m%d-%H:%M:%S.%L'
  RSpec.configuration.rs_storage[:nodes] ||= {}
end