In my digging, I think I had found a way to get capistrano to perform
how I was expecting it to with the -s hosts=server1,server2 set on the
command line:
In actor.rb:
*** 102,108 ****
end
def find_hosts
! environment_values(:hosts) || @options[:hosts]
end
def environment_values(key, use_symbols = false)
--- 102,108 ----
end
def find_hosts
! environment_values(:hosts) || @options[:hosts] ||
self.actor.variables[:hosts].split(',')
end
def environment_values(key, use_symbols = false)
I know that this may not be the most elegant way to get at that list
of variables, but it seemed to work for me.
On Mar 16, 4:22 am, "The Zed" <[EMAIL PROTECTED]> wrote:
> Hello Jamis,
>
> Thank you for your answer, I was afraid the upshot would be this,
> I had already done this but found it too klunky.
>
> I had hoped for a hidden setting that would trigger the expected
> inheritance.
>
> I find this situation most surprising, do you plan to add some
> mechanism to address it ?
>
> If you don't mind, I will amend the FAQ page of this group to warn
> people facing the same question.
>
> Thank you again for all the efforts you put on your many projects !
>
> -- Arnaud.
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---