Class: Wombat::InitRunner

Inherits:
Object
  • Object
show all
Includes:
Common
Defined in:
lib/wombat/init.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Common

#audio?, #azure_provider_tag, #banner, #bootstrap_aws, #build_nodes, #calculate_templates, #conf, #connect_azure, #create_infranodes_json, #create_resource_group, #deployment_state, #duration, #follow_azure_deployment, #info, #infranodes, #is_mac?, #is_valid_json?, #linux, #list_outstanding_deployment_operations, #lock, #logs, #parse_log, #update_lock, #update_template, #warn, #wombat, #workstations

Constructor Details

#initialize(opts) ⇒ InitRunner

Returns a new instance of InitRunner.



9
10
11
# File 'lib/wombat/init.rb', line 9

def initialize(opts)
  @path = opts.path.nil? ? Dir.pwd : opts.path
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



7
8
9
# File 'lib/wombat/init.rb', line 7

def path
  @path
end

Instance Method Details

#startObject



13
14
15
# File 'lib/wombat/init.rb', line 13

def start
  copy_files(path)
end