Module | Capistrano::Configuration::Connections |
In: |
lib/capistrano/configuration/connections.rb
|
Used to force connections to be made to the current task‘s servers. Connections are normally made lazily in Capistrano—you can use this to force them open before performing some operation that might be time-sensitive.
Returns the object responsible for establishing new SSH connections. The factory will respond to connect_to, which can be used to establish connections to servers defined via ServerDefinition objects.
Ensures that there are active sessions for each server in the list.
Determines the set of servers within the current task‘s scope and establishes connections to them, and then yields that list of servers.