Class/Module Index [+]

Quicksearch

Chef::Knife::ClusterBootstrap

Public Instance Methods

confirm_execution(target) click to toggle source
# 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
perform_execution(target) click to toggle source
# 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

[Validate]

Generated with the Darkfish Rdoc Generator 2.