Class: Entangler::Executor::Master

Inherits:
Base
  • Object
show all
Includes:
Background::Master, Validation::Master
Defined in:
lib/entangler/executor/master.rb

Constant Summary

Constants inherited from Base

Base::ENTANGLER_IGNORE_REGEX, Base::GIT_IGNORE_REGEX

Instance Attribute Summary

Attributes inherited from Base

#base_dir

Instance Method Summary collapse

Methods inherited from Base

#generate_abs_path, #initialize, #strip_base_path

Constructor Details

This class inherits a constructor from Entangler::Executor::Base

Instance Method Details

#runObject



13
14
15
16
17
18
19
20
# File 'lib/entangler/executor/master.rb', line 13

def run
  perform_initial_rsync
  sleep 1
  start_remote_slave
  super
  @remote_writer.close
  @remote_reader.close
end