# File lib/chef/knife/cluster_bootstrap.rb, line 68 def confirm_execution(target) ui.info "Bootstrapping the node redoes its initial setup -- only do this on an aborted launch." confirm_or_exit("Are you absolutely certain that you want to perform this action? (Type 'Yes' to confirm) ", 'Yes') end
# File lib/chef/knife/cluster_bootstrap.rb, line 61 def perform_execution(target) ensure_common_environment(target) # Execute across all servers in parallel Ironfan.parallel(target.values) {|computer| run_bootstrap(computer)} # threads = target.servers.map{ |server| Thread.new(server) { |svr| run_bootstrap(svr, svr.public_hostname) } } end
Generated with the Darkfish Rdoc Generator 2.