From: Steven Lumos Date: 2006-02-24T07:54:45+09:00 Subject: Re: [ANN] SwitchTower 1.0.0 Jamis Buck writes: > 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: http://rubyforge.org/projects/switchtower > Download: http://rubyforge.org/frs/?group_id=1014 > Install: gem install switchtower What is the prefered place for reports/requests? [~pr]0% switchtower -vvv -r config/deploy.rb -a update_code loading configuration /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/recipes/standard.rb loading configuration ./config/deploy.rb * executing task update_code * determining current_branch... /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/configuration.rb:239:in `method_missing': undefined method `local' for # (NoMethodError) from /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/scm/cvs.rb:119:in `cvs_local' from /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/scm/cvs.rb:62:in `current_branch' from /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/scm/cvs.rb:37:in `initialize' from /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/configuration.rb:88:in `[]' from /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/configuration.rb:237:in `method_missing' from /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/scm/cvs.rb:72:in `checkout' from /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/recipes/standard.rb:72:in `load' from /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/actor.rb:125:in `update_code' from /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/cli.rb:242:in `execute_recipes!' from /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/cli.rb:242:in `execute_recipes!' from /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/cli.rb:217:in `execute!' from /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/lib/switchtower/cli.rb:12:in `execute!' from /local/ruby-1.8.4/lib/ruby/gems/1.8/gems/switchtower-1.0.1/bin/switchtower:11 from /local/ruby/bin/switchtower:18 (Explicitly setting :local is the workaround.) Is there any plan to nicely support local execution in the future? We don't have major web serving requirements, and it would be a little more convenient to me to not have to ssh to localhost, while still providing the nice rollback capability and abstraction for if we ever do have major web serving requirements. Steve