Wow that got mangled. Here it is again as a properly formatted gist
http://gist.github.com/176294

On Aug 27, 8:41 am, Richie Vos <[email protected]> wrote:
> On 26 Aug, 17:04, Andres Paglayan <[email protected]> wrote:
> I'm not sure how to do this purely in cap, it seems like it'd be a lot
> of screw around to get it to work. What I would do is write a rake
> task that does the iteration and calls out to cap. It'd probably be
> wayyy easier than trying to man-handle cap into doing what you're
> asking. Though I hope someone else proves me wrong.
>
> To deploy:
> rake deploy
>
> ==============================
> deploy.rake
>
> Then in cap I'd handle the different variables:
>
> ==============================
> deploy.rb
>
> The way I've been managing config files like this is a bit like this
> approach, but I write them all and then upload them all at once:
> ==============================
> config.rb
>
> But we have a bunch of config files we write (database, memcached,
> sphinx, ...) and that approach may be overkill for you (though it
> probably would be something that could go in capistrano-ext if anyone
> likes it).
--~--~---------~--~----~------------~-------~--~----~
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.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to