Class Hydra::Sync
In: lib/hydra/sync.rb
Parent: Object

Hydra class responsible for delegate work down to workers.

The Sync is run once for each remote worker.

Methods

new   sync   sync_many  

Attributes

connect  [R] 
remote_dir  [R] 
ssh_opts  [R] 

Public Class methods

Create a new Sync instance to rsync source from the local machine to a remote worker

Arguments:

  • :worker_opts
    • A hash of the configuration options for a worker.
  • :sync
    • A hash of settings specifically for copying the source directory to be tested to the remote worked
  • :verbose
    • Set to true to see lots of Hydra output (for debugging)

Public Instance methods

[Validate]