Module: PoolParty::Remoter::ClassMethods
- Defined in:
- lib/poolparty/remoter.rb
Instance Method Summary collapse
Instance Method Details
#rsync_string ⇒ Object
14 15 16 |
# File 'lib/poolparty/remoter.rb', line 14 def rsync_string "rsync --delete -azP -e '#{ssh_string}' " end |
#ssh_array ⇒ Object
11 12 13 |
# File 'lib/poolparty/remoter.rb', line 11 def ssh_array ["-o StrictHostKeyChecking=no", "-l '#{Application.username}'", "-i '#{Application.keypair_path}'"] end |
#ssh_string ⇒ Object
8 9 10 |
# File 'lib/poolparty/remoter.rb', line 8 def ssh_string (["ssh"] << ssh_array).join(" ") end |