[capistrano-mailing-list] Trying to write a task to distribute files from a remote server to a group of other remote servers

2015-06-01 Thread Steve Wechsler
Versions: - Ruby 1.8.7 - Capistrano v2.5.5 - Rake / Rails / etc Platform: - CentOS/Red Hat I'm trying to write a task (to be called from a Perl script) that will work on any Linux host in my environment. However, since there is only one host that can SSH to every other host (it

Re: [capistrano-mailing-list] Trying to write a task to distribute files from a remote server to a group of other remote servers

2015-06-01 Thread Lee Hambley
I'd drop Capistrano and use SSHKit, the underlying driver in Capistrano v3 (your example is v2) - see https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md#upload-a-file-from-disk and https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md#using-with-rake Combine those two to recreate