Class: Chef::Knife::SousBootstrap

Inherits:
Chef::Knife show all
Includes:
KnifeSous::ConfigureCommand, KnifeSous::NodeCommand, KnifeSous::ProcessorCommand
Defined in:
lib/chef/knife/sous_bootstrap.rb

Instance Method Summary collapse

Methods included from KnifeSous::NodeCommand

#check_args, #process_result, #run, #search_for_target

Methods included from KnifeSous::ConfigureCommand

configure_command

Methods included from KnifeSous::ProcessorCommand

included, #manifest_file_path, #process_config, #root_namespace, #search, #validate_config!

Instance Method Details

#solo_bootstrap_node(node) ⇒ Object Also known as: solo_command



19
20
21
22
23
24
25
# File 'lib/chef/knife/sous_bootstrap.rb', line 19

def solo_bootstrap_node(node)
  solo_bootstrap_command = configure_command(Chef::Knife::SoloBootstrap.new, node)
  Chef::Knife::SoloBootstrap.load_deps
  solo_bootstrap_command.name_args << node.hostname
  solo_bootstrap_command.name_args << node.node_config
  solo_bootstrap_command.run
end