This commit is contained in:
amartynov 2015-10-26 12:39:54 +03:00
parent 1805f8d65c
commit 8af43f658d
2 changed files with 5 additions and 0 deletions

View File

@ -216,6 +216,8 @@ module Devops
end end
def prepare_two_phase_bootstrap options def prepare_two_phase_bootstrap options
@out << "Prepare bootstrap...\n"
@out << "Done\n"
end end
def two_phase_bootstrap options def two_phase_bootstrap options

View File

@ -17,9 +17,12 @@ class BootstrapWorker < Worker
server = Devops::Model::Server.new(server_attrs) server = Devops::Model::Server.new(server_attrs)
report = save_report(file, owner, server) report = save_report(file, owner, server)
=begin
options = { options = {
bootstrap_template: bootstrap_template bootstrap_template: bootstrap_template
} }
=end
out << options.inspect
executor = Devops::Executor::ServerExecutor.new(server, out) executor = Devops::Executor::ServerExecutor.new(server, out)
executor.report = report executor.report = report
status = executor.two_phase_bootstrap(options) status = executor.two_phase_bootstrap(options)