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
|
end
|
||||||
|
|
||||||
def current_host
|
def current_host
|
||||||
find_servers_for_task(current_task).first
|
ENV['HOST'] || find_servers_for_task(current_task).first
|
||||||
end
|
end
|
||||||
|
|
||||||
Dir[File.expand_path('../cap-pack/recipes/**/*.rb', __FILE__)].each { |f| load f }
|
Dir[File.expand_path('../cap-pack/recipes/**/*.rb', __FILE__)].each { |f| load f }
|
||||||
|
|
Loading…
Reference in New Issue