Class: Chef::Knife::ClusterBootstrap
- Inherits:
-
Ironfan::Script
- Object
- Chef::Knife
- Ironfan::Script
- Chef::Knife::ClusterBootstrap
- Defined in:
- lib/chef/knife/cluster_bootstrap.rb
Instance Attribute Summary
Attributes included from Ironfan::KnifeCommon
Instance Method Summary collapse
Methods inherited from Ironfan::Script
#_run, #aggregates?, #aggregates_on_noop?, #prepares?, #prepares_on_noop?
Methods included from Ironfan::KnifeCommon
#all_computers, #bootstrapper, #configure_dry_run, #confirm_or_exit, #die, #discover_computers, #display, #exit_if_unhealthy!, #gemfile, #get_relevant_slice, #get_slice, #has_problem, #healthy?, included, load_deps, #load_ironfan, #pick_apart, #predicate_str, #progressbar_for_threads, #relevant?, #run, #run_bootstrap, #section, #sub_command, #wait_for_ssh
Instance Method Details
#confirm_execution(target) ⇒ Object
65 66 67 68 |
# File 'lib/chef/knife/cluster_bootstrap.rb', line 65 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 |