Class: Chef::Knife::ClusterStart
- Inherits:
-
Ironfan::Script
- Object
- Chef::Knife
- Ironfan::Script
- Chef::Knife::ClusterStart
- Defined in:
- lib/chef/knife/cluster_start.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_execution, #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, #run, #run_bootstrap, #section, #sub_command, #wait_for_ssh
Instance Method Details
#perform_execution(target) ⇒ Object
29 30 31 32 |
# File 'lib/chef/knife/cluster_start.rb', line 29 def perform_execution(target) section("Starting computers") super(target) end |
#relevant?(computer) ⇒ Boolean
25 26 27 |
# File 'lib/chef/knife/cluster_start.rb', line 25 def relevant?(computer) (not computer.bogus?) && computer.stopped? end |