#799: fixed run list for deploy scheme 1

This commit is contained in:
amartynov 2015-09-30 17:05:52 +03:00
parent 9233c49ae5
commit 725d58a346

View File

@ -345,6 +345,8 @@ module Devops
end
@out.flush
cmd << " -j http://#{DevopsConfig.config[:address]}:#{DevopsConfig.config[:port]}/#{DevopsConfig.config[:url_prefix]}/v2.0/deploy/data/#{file}"
else
cmd << " -r #{deploy_info["run_list"].join(",")}"
end
ip = if @server.public_ip.nil?
@server.private_ip
@ -425,7 +427,7 @@ module Devops
def create_run_list out, deploy_info
out << "\nGenerate run list hook...\n"
if deploy_info["run_list"]
out << "Deploy info already contains 'run_list': #{deploy_info["run_list"].join(",")}\n"
out << "Deploy info already contains 'run_list': #{deploy_info["run_list"].join(", ")}\n"
return
end
out << "Project run list: #{@project.run_list.join(", ")}\n"