REASON and UNTIL are environment variables, so if you set them in your
recipe file you have to do it via the ENV hash:

  ENV['REASON'] = "hardware upgrade"
  ENV['UNTIL'] = "12pm Central Time"

- Jamis

On 2/1/09 4:09 AM, Raimon Fernandez Sirera wrote:
> Hello,
> 
> 
> I'm trying to use the cap deploy:web:disable
> 
> The page is created correctly, but I want to customize it a little.
> 
> I saw with cap -e deploy:web:disable that I can configure it:
> 
>    $ cap deploy:web:disable \
>          REASON="hardware upgrade" \
>          UNTIL="12pm Central Time"
> 
> Further customization will require that you write your own task.
> 
> 
> Where I have to put those variables ?
> 
> I tried in the deploy.rb but the maintenance page is the same as before.
> 
> Any idea ?
> 
> thanks,
> 
> r.
> 
> 
> > 


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