Giter VIP home page Giter VIP logo

Comments (7)

sbfaulkner avatar sbfaulkner commented on July 17, 2024

fixed in my fork:
http://github.com/sbfaulkner/capistrano_rsync_with_remote_cache/commit/ae6db7a94885b72d93aa5bcdedf323f77f42de48

from capistrano_rsync_with_remote_cache.

reagent avatar reagent commented on July 17, 2024

Can you give me an example configuration that exposes this problem? I may need to re-think how the port config is generated.

from capistrano_rsync_with_remote_cache.

sbfaulkner avatar sbfaulkner commented on July 17, 2024

We've got a cluster on a network outside of our network that is behind a load-balancer. The servers share a single external IP address, so we deploy to the two servers using ssh running on a different port on each node of the cluster.

We're actually using webistrano (rather than capistrano), but the exported capfile includes the following...

role :app, "server.example.com:56009"
role :app, "server.example.com:56010"
role :db, "server.example.com:56009", {:primary=>true}
role :db, "server.example.com:56010"
role :web, "server.example.com:56009"
role :web, "server.example.com:56010"

Does the patch I proposed introduce a problem?

from capistrano_rsync_with_remote_cache.

reagent avatar reagent commented on July 17, 2024

Does the patch I proposed introduce a problem?

I don't think so, I just thought that your use-case may have introduced a more efficient way of handling the SSH config instead of supplying a different port via set :ssh_options. I may deprecate that global option in favor of your solution - I'll have to think about it.

At any rate - I'll pull this in this week. Thanks!

from capistrano_rsync_with_remote_cache.

sbfaulkner avatar sbfaulkner commented on July 17, 2024

I don't think you want to deprecate it... we do have other servers we deploy to where it is far more convenient to use the global option.

from capistrano_rsync_with_remote_cache.

reagent avatar reagent commented on July 17, 2024

Took me forever, but your changes are in there: http://github.com/vigetlabs/capistrano_rsync_with_remote_cache/tree/2.4.0

Gem is published too: http://rubygems.org/gems/capistrano_rsync_with_remote_cache

from capistrano_rsync_with_remote_cache.

sbfaulkner avatar sbfaulkner commented on July 17, 2024

cheers

from capistrano_rsync_with_remote_cache.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.