I'm trying to role out to a dynamically changing list of web servers
using capistrano.
I need to query a mysql table to retrieve a list of hostnames and then
deploy to them.
I've been trying to pass the list via
-S ec2instance="'www1','www2'"
and
role :web, #{ec2instances}
but this seems to cause an issue with the quotes.
I can't set HOSTS env variable as we use a gateway.
Any ideas?
Thanks
Chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---