Class: Entangler::Executor::Master

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

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



8
9
10
11
12
13
14
15
# File 'lib/entangler/executor/master.rb', line 8

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