Class: Shards::Workflow::FastTerminalAll

Inherits:
FastTerminal show all
Defined in:
lib/shards/workflow/fast_terminal_all.rb

Instance Attribute Summary

Attributes inherited from Base

#answer, #blank_db, #client, #config, #current_loop, #domain, #flow, #location, #params, #pointer, #pointer_history, #site, #stage, #step, #success, #wf

Instance Method Summary collapse

Methods inherited from Base

#add_ask_blank_db_step, #application_reload_shards_task, #ask_blank_db, #ask_for_exit, #ask_for_exit_and_restart, #ask_for_repeat, #ask_question, #check_database_presence_in_server, #check_domain_dns_presence, #check_domain_presence_in_sites, #check_fingerprints, #check_fingerprints2, #check_shard_presence_in_shards, #choose_one, #clean_repo_and_exit, #commit_changes, #create_database, #decamelize, #default_path, #dns_upsert, #file, #finish_successfully, #format_options, #get_file, #host, #loop_step, #output_message, #path, #previous_pointer, #puppet_agent_update, #raise_wrong_text, #run_step, #shared_file, #shared_steps, #start_at, #validate_blank_db_shard, #validate_client, #validate_domain, #validate_in_index, #validate_location, #validate_min_size, #validate_regex, #validate_stage, #validation, #write_yaml_files, #yaml

Constructor Details

#initialize(config) ⇒ FastTerminalAll

Returns a new instance of FastTerminalAll.



8
9
10
11
# File 'lib/shards/workflow/fast_terminal_all.rb', line 8

def initialize config
  super(config)
  @wf='fast_terminal'
end

Instance Method Details

#startObject



13
14
15
16
17
18
# File 'lib/shards/workflow/fast_terminal_all.rb', line 13

def start
  @flow=shared_steps.merge yaml[wf]

  @pointer=yaml['start']
  run_step
end