Class: Chake::Backend::Ssh
- Inherits:
-
Chake::Backend
- Object
- Struct
- Chake::Backend
- Chake::Backend::Ssh
- Defined in:
- lib/chake/backend/ssh.rb
Instance Attribute Summary
Attributes inherited from Chake::Backend
Instance Method Summary collapse
Methods inherited from Chake::Backend
backend_name, get, inherited, #run, #run_as_root, #to_s
Instance Method Details
#command_runner ⇒ Object
11 12 13 |
# File 'lib/chake/backend/ssh.rb', line 11 def command_runner ['ssh', ssh_target] end |
#rsync_dest ⇒ Object
7 8 9 |
# File 'lib/chake/backend/ssh.rb', line 7 def rsync_dest [ssh_target, node.path + '/'].join(':') end |