Hi,

Sorry, if this has been posted already...

I've been using capistrano 1.3.0 for some time now and was looking to
upgrade.
In 1.3.0 I had the ability to set a gateway after a task, but in the
current version it does not allow me to do this.  Any suggestions
would be appreciated and helpful.  Thanks in advance.

Below is an example of what I'm doing...

task :dosomething do

     if host.list.length > 0
         nserver
    end

    if dhost.list.length > 0
        set :gateway, $gw
        dserver

    end
end

task :nserver, :roles => host do
    run "** "
end

task :dserver, roles => dhost do
    run " **"
end

When I execute the dosomething task it would run nserver task then set
the gateway before running the dserver task

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to