Class: Chake::Backend::Ssh

Inherits:
Chake::Backend show all
Defined in:
lib/chake/backend/ssh.rb

Instance Attribute Summary

Attributes inherited from Chake::Backend

#node

Instance Method Summary collapse

Methods inherited from Chake::Backend

backend_name, get, inherited, #run, #run_as_root, #to_s

Instance Method Details

#command_runnerObject



11
12
13
# File 'lib/chake/backend/ssh.rb', line 11

def command_runner
  ['ssh', ssh_target]
end

#rsync_destObject



7
8
9
# File 'lib/chake/backend/ssh.rb', line 7

def rsync_dest
  [ssh_target, node.path + '/'].join(':')
end