On 2/16/09 8:37 AM, Gerhardus Geldenhuis wrote:
> Thanks, I am going to try that right now.
> 
> How do you feel about a "sequential" extention to capistrano? Any
> thoughts on how it could fit in with the current structure?

I think that'd be great. Even as something for Capistrano core. I've
needed, and others have needed it, so I'm sure it'd be useful.

In general, I'd really love to get away from the ROLES, HOSTS, and
HOSTFILTER environment variables. I just don't know where to go instead
of those, and honestly, I haven't spent much time thinking about it.

If you have any ideas, please feel free to hack on them and see what you
come up with.

- Jamis


> 
> Regards
> 
> On Feb 16, 3:16 pm, Jamis Buck <[email protected]> wrote:
>> If you want subtasks to use a particular host, you need to set the HOSTS
>> or HOSTFILTER environment variables. E.g.
>>
>>   find_servers(...).each do |server|
>>     ENV['HOSTFILTER'] = server.host
>>     sub.task.here
>>     ENV['HOSTFILTER'] = nil
>>   end
>>
>> It's extremely ugly and hacky and I don't like it, but there's not
>> currently another way to do it.
>>
>> - Jamis
>>
>> On 2/16/09 5:09 AM, Gerhardus Geldenhuis wrote:
>>
>>> I have also put the relevant code onhttp://pastie.org/390600
>>> Regards
> > 


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