On 03/05/2007, at 7:22 PM, Craig Ambrose wrote:

> The reason is, I want access to all the current cap configuration, in
> particular all the server urls and roles. I want to connect to an
> external API and send it this information.
>
> Can anyone thing of a way that I might do this? Could I define a new
> role that represents the local machine?

As cap executes on your machine, why not do something like:

require 'deployment_notifier'

namespace :deploy
   task :before_default do
     DeploymentNotifier.notify(...)
   end
end

-- tim

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to