Comments (7)
fixed in my fork:
http://github.com/sbfaulkner/capistrano_rsync_with_remote_cache/commit/ae6db7a94885b72d93aa5bcdedf323f77f42de48
from capistrano_rsync_with_remote_cache.
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.
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.
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.
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.
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.
cheers
from capistrano_rsync_with_remote_cache.
Related Issues (15)
- Incompatible with Git HOT 1
- Respects ssh_options[:port] but not just plain :port HOT 1
- Does not check result of rsync command, keeps on going HOT 1
- Respect (local) branches
- Ignores the "dry-run" cli option and executes rsync unconditionally
- Doesn't work with non-standard ssh port HOT 3
- Split local code update into sub tasks HOT 4
- Configurable rsync exclusions HOT 3
- could not find any strategy named `rsync_with_remote_cache' HOT 2
- Released spiritual success to this for Capistrano v3 called Capistrano::Rsync
- Is this project deprecated / not maintened anymore ? HOT 7
- Update README
- scm :none HOT 1
- Need to deploy from a git subdirectory (patch included)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capistrano_rsync_with_remote_cache.