lib/poolparty/net/remoter/connections.rb
# Rsync a file or directory to a node.  Rsync to master by default
Rsync a file or directory to a node.  Rsync to master by default
Rsync a file or directory to a node . Rsync to master by default
def rsync_to(source, target=source, num=0)
      str = "#{rsync_to_command(source, target, get_instance_by_number( num ))}"
      dputs "Running: #{str}"
      verbose ?  Kernel.system(str) : hide_output {Kernel.system str}
    end
def rsync_to ( source , target = source , num = 0 ) str = "#{rsync_to_command(source, target, get_instance_by_number( num ))}" dputs "Running: #{str}" verbose ? Kernel . system ( str ) : hide_output { Kernel . system str } end
Rsync a file or directory to a node.
Rsync a file or directory to a node .
source
target
num