similar to: switchtower custom tasks question.

Displaying 20 results from an estimated 500 matches similar to: "switchtower custom tasks question."

2006 Nov 14
11
RESTful mixin, mixin repo?
Hi, I just put together a little mixin to provide pseudo-RESTful services in camping apps. Basically, it looks for a hidden _verb field in form posts, and sets the @method to the supplied value (e.g. put or delete - which browsers don''t support). This lets you define put and delete methods in your controllers. Groovy. Code: http://pastie.caboo.se/22613 Is there any permanent repo of
2006 Jan 26
0
Switchtower deploy failing...
Hi, I am trying to deploy my app using switchtower on a linux machine from a windows box and running into the following issue: > rake deploy Any ideas ?? Many thanks... /usr/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/configuration.rb:197:in `method_missing'': undefined method `local'' for #<SwitchTower::Configuration:0x102b58c8> (NoMethodError)
2006 Jan 05
4
Switchtower for distribution?
I am just about to dive into Switchtower, but had a thought (go figure?). Could Switchtower use be inverted? Could user, clients, or customers install switchtower and "pull" applications? Just a thought. -- Posted via http://www.ruby-forum.com/.
2006 Feb 21
9
SwitchTower 1.0.1, SwitchTower Extensions
SwitchTower is a utility that can execute commands in parallel on multiple servers. It allows you to define tasks, which can include commands that are executed on the servers. You can also define roles for your servers, and then specify that certain tasks apply only to certain roles. Manual: http://manuals.rubyonrails.org/read/book/17 Project:
2006 Feb 17
1
switchtower, CVS, and ''configuration.local''
I''m trying to get switchtower to work with CVS. I see "querying latest revision..." and then it states "[update_code] transaction: rollback" I''m open to any and all suggestions at this point. I put some logging statements in the switchtower code and it seems to fail at this statement in switchtower-0.10.0/lib/switchtower/scm/cvs.rb @latest_revision =
2005 Sep 19
5
switchtower beta gem?
would it be possible to get another beta gem posted for switchtower? core rails has been getting nice regular updates to the beta gems, but switchtower is still back at 1962.
2005 Dec 21
4
Switchtower question: how to use SVN export
I use Switchtower to deploy my Ruby on Rails application, which works great. However, it appears to be doing a SVN checkout, which includes all the .svn directories as well. I would rather do an export from SVN. Is it possible to configure Switchtower to do this, or can I extend it in the deploy.rb? I haven''t been able to find any examples on the internet so far. thanks, Jeroen
2006 Mar 01
3
SwitchTower: Two development environments
Hi I have a problem here. I am developing an application which has a local development environment (on my harddisk), a second one for my customer (for testing new features) and a production environment which runs actual application online. How can I setup SwitchTower to have a possibility to deploy just for a particular server? Thanks, Peter
2006 Jan 05
1
How to freeze SwitchTower
Hi all, I''m wondering if "rake freeze_gems" will freeze SwitchTower as well. If it doesn''t, I could try to modify the rake task at [1] to freeze extra gems such as switchtower into vendor/ (the rake task at [1] freezes gems into lib/ which I disagree with). Is there anyone else actually using a "frozen" SwitchTower? If so, what did you do to freeze it with a
2005 Dec 29
1
Best Practice: file_column+Switchtower
Finally getting my app up and running with Switchtower. I am also using file_column in my project. By default, it creates a directory for each model under ''public'' and goes from there. I have users adding files in my production application and those files they added aren''t managed under SVN as they aren''t part of the app, they are added content. Plus, since
2005 Dec 22
3
How to specify SwitchTower SSH port
Hi ! Following Ezra's suggestions on http://brainspl.at/pages/perfect_vps, I changed the port sshd listens to. I'm trying to setup SwitchTower, and I don't know how to set the port. Where should that be configured ? I can't see anything in switchtower.rake, nor can I see it in the source. If this already exists, can anybody point me to documentation. If not, can I get any
2006 Feb 09
1
SwitchTower with multiple repositories
I''d like to get SwitchTower to checkout from different repositories per role? The db role checks out different stuff from the app role, etc. I don''t mind redefining SwitchTower::SCM::Subversion.checkout. But I''m not sure the best way to do it. How would that method parameterize the repository based on role? It''d be something like this: command =
2006 Jan 02
3
SwitchTower 0.10.0
SwitchTower is a utility that can execute commands in parallel on multiple servers. It allows you to define tasks, which can include commands that are executed on the servers. You can also define roles for your servers, and then specify that certain tasks apply only to certain roles. It was developed primarily to ease the pain of deploying Rails applications to multiple machines, but can
2006 Feb 23
2
SwitchTower remote_exec migrate
Hello I''m doing rake remote_exec ACTION=migrate and I get an output with servers []: loading configuration c:/ruby/lib/ruby/gems/1.8/gems/switchtower-0.10.0/lib/switchtower/recipes/standard.rb loading configuration ./config/deploy.rb executing task migrate executing "cd /var/www/catalyst/current && rake RAILS_ENV=production migrate" servers: [] processing command
2006 Jan 05
3
What is SwitchTower?
What is SwitchTower? SteveT Steve Litt Author: * Universal Troubleshooting Process courseware * Troubleshooting Techniques of the Successful Technologist * Rapid Learning: Secret Weapon of the Successful Technologist Webmaster * Troubleshooters.Com * http://www.troubleshooters.com
2006 Mar 02
0
Making SwitchTower work with csh (and other non-posix shells)
I tried using ST, but it didn''t work with the csh shell. Today I decided to make it work, and came up with the very simple solution of wrapping the failed commands inside a bash instance. Blog post is http://www.flpr.org/articles/2006/03/02/make-switchtower-work-with-csh-hack Solution (so you don''t have to read the blog post :) is to edit
2006 Jan 12
1
bugtracker for SwitchTower?
Is there a bugtracker for SwitchTower? It just made ''current'' point to a directory that was already inside the ''releases'' directory instead of the making ''current'' point to the checkout location the log showed. The directory it made ''current'' point to was left over from when I was doing manual releases. I want to make
2005 Dec 22
3
Does Switchtower support svn+ssh://
All the examples I''ve seen have the SSH repository accessed via http:// Does Switchtower support svn+ssh:// URLs? Jake -- Posted via http://www.ruby-forum.com/.
2005 Nov 07
5
Switchtower deployment
Hi, Has anyone experiences using SwitchTower (Windows) in a shared hosting environment (Textdrive)? I already patched the SwitchTower rake tasks (I don''t know if someone is interested on it), but i still experience some problems (not in the sudoers list, ...). Thank you for answer (and thank you to the textdrive guys, i never had a such fast support!) -- Jean-Etienne Durand
2006 Jan 28
1
Switchtower different svn repo urls from my local box and my shared hosting
I got problems running switchtower 0.10.0 when I try to run "rake deploy" from my local box (windows) to my shared hosting If I set the repository to (deploy.rb): set :repository, "file:///home/[my_user]/repo/[my_app]/trunk" My local box (windows) can''t reach the subversion repository located in site5 If I set the repository to: set :repository,