I want to be able to do this.
prod_app_servers = [prod_app1, prod_app2, prod_app3, ...]
staging_app_server = ....
task :web_servers do
role :app, [test_app_servers, staging_app_servers,
prod_app_servers].flatten
end
If I do this I get this error.
.rvm/gems/ree-1.8.7-2011.03/gems/capistrano-2.6.0/lib/capistrano/
server_definition.rb:16:in `initialize': undefined method `match' for
#<Array:0xb5e1b58> (NoMethodError)
So it doesn't like an array. How do I accomplish this?
--
* 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.com/group/capistrano?hl=en