#824: added bootstrap template to stack servers bootstrap command
This commit is contained in:
parent
86aaaaf1b8
commit
8ae5fa635e
@ -80,7 +80,8 @@ class StackBootstrapWorker < Worker
|
|||||||
servers.each do |server|
|
servers.each do |server|
|
||||||
executor = Devops::Executor::ServerExecutor.new(server, @out)
|
executor = Devops::Executor::ServerExecutor.new(server, @out)
|
||||||
executor.report = report
|
executor.report = report
|
||||||
bootstraping_results[server.chef_node_name] = executor.two_phase_bootstrap({})
|
#TODO: can stack choose bootstrap template?
|
||||||
|
bootstraping_results[server.chef_node_name] = executor.two_phase_bootstrap({bootstrap_template: 'omnibus'})
|
||||||
@out.flush
|
@out.flush
|
||||||
end
|
end
|
||||||
check_bootstrap_results!(bootstraping_results)
|
check_bootstrap_results!(bootstraping_results)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user