[Fab-user] Deploying to different path & db on same server

2010-01-12 Thread Nicolas Steinmetz
Hello, It's quite a long time I used Fabric and as new needs raised in my firm, I'm considering playing back with fabric. My concern is that I have a website which use 6 web servers and 1 database. Now that our service concerns not only Europe but also Asia. Therefore, as an impact, I have a new

Re: [Fab-user] Deploying to different path & db on same server

2010-01-12 Thread Jeff Forcier
Hi Nicolas, In the lates stable Fab release, you can easily paramaterize your tasks with task arguments; see: http://docs.fabfile.org/0.9.0/usage/fab.html#per-task-arguments So you could pretty easily write a single deploy task that goes something like this (paraphrasing for the most part, t

Re: [Fab-user] Deploying to different path & db on same server

2010-01-12 Thread Nicolas Steinmetz
Hi, 2010/1/12 Jeff Forcier > In the lates stable Fab release, you can easily paramaterize your > tasks with task arguments; see: > >http://docs.fabfile.org/0.9.0/usage/fab.html#per-task-arguments > > So you could pretty easily write a single deploy task that goes > something like this (par