159
160
161
162
163
164
165
166
167
168
169
170
171
|
# File 'lib/chef_apply/cli.rb', line 159
def render_converge(target_hosts)
jobs = target_hosts.map do |target_host|
UI::Terminal::Job.new("[#{target_host.hostname}]", target_host) do |reporter|
connect_target(target_host, reporter)
install(target_host, reporter)
converge(reporter, archive_file_location, target_host)
end
end
= TS.converge.(target_hosts.length, temp_cookbook.descriptor, temp_cookbook.from)
UI::Terminal.render_parallel_jobs(, jobs)
handle_failed_jobs(jobs)
end
|