also be able to refer to which host to connect to

This commit is contained in:
John Bintz 2012-11-20 15:33:50 -05:00
parent 31b48b5ff5
commit c1f1539cb6
1 changed files with 1 additions and 1 deletions

View File

@ -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 }