On Jun 13, 2007, at 12:19 PM, Sascha Koni wrote:

> I have successfully been using capistrano to deploy to my db and app
> server. Now I have a new server which we use for monitoring. We use
> cacti to grab statistics out of the database with the help of a ruby
> script. The ruby script is in the same subversion repository as the
> rails application it belongs to.
>
> My question is, how can I deploy to the app and db as I did before but
> also somehow deploy that one file to a different host. I could of
> course deploy the whole code but I would prefer if only the files that
> are needed are copied.

Just curious about this: why do you have that preference? Things are  
so much simpler if you just deploy identically to all servers.  
Otherwise, you're looking at writing your own deployment strategy.

- Jamis

>
> I will probably have to set up a new role in capistrano. But how do I
> continue? Should I just replace the ruby file that gets the statistics
> on that server? Or only check out that one file? Do I have to create a
> folder structure like on the app servers for the statistics server as
> well? If not how do I rollback?
>
> Any help would be greatly appreciated!
>
> Regards,
> Sascha
>
>
> >


--~--~---------~--~----~------------~-------~--~----~
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