1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00
capistrano/spec
Lee Hambley a236b7f8ef Improve selection of primary host for a role.
Prior to this commit the "primary" server in each role was considered to be
the first one defined. This commit extends the behaviour of primary selection
to look to see if any of the hosts have the `primary` property set to a truthy
value.

In case that more than one server has a truthy `primary` property the first
one is taken as previously.

In order to set the primary property the extended `server()` syntax (that is
not `role()`) must be used, see b56206e.
2013-05-28 12:20:35 +02:00
..
lib Improve selection of primary host for a role. 2013-05-28 12:20:35 +02:00
spec_helper.rb installation - running cap install capifies app 2013-02-01 14:51:50 +00:00