also be able to refer to which host to connect to
This commit is contained in:
parent
31b48b5ff5
commit
c1f1539cb6
|
@ -10,7 +10,7 @@ Capistrano::Configuration.instance.load do
|
|||
end
|
||||
|
||||
def current_host
|
||||
find_servers_for_task(current_task).first
|
||||
ENV['HOST'] || find_servers_for_task(current_task).first
|
||||
end
|
||||
|
||||
Dir[File.expand_path('../cap-pack/recipes/**/*.rb', __FILE__)].each { |f| load f }
|
||||
|
|
Loading…
Reference in New Issue