Rob,

Yeah, that's been possible since Preview 1, actually:

   run "cp $CAPISTRANO:HOST$.conf /etc/httpd/vhosts.d"

The $CAPISTRANO:HOST$ string will be replaced by the actual hostname,  
immediately before executing the command.

- Jamis

On May 11, 2007, at 12:59 AM, Rob Sanheim wrote:

>
> On 5/10/07, Jamis Buck <[EMAIL PROTECTED]> wrote:
>>
> [snip]
>
> This all looks awesome.  I've been watching the changesets, and it
> looks like its now possible to get the name of the server that a task
> is happening on?  So if I want to copy files called myhostname1.conf
> and myhostname2.conf for my "apache_setup" task, and I can just do
> that right in capistrano now, right?  Something like:
>
> run "cp #{hostname}.conf /etc/httpd/vhosts.d"
>
> - rob
>
> >


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