Class: Command::AmbariStartHost

Inherits:
AmbariClusterHostCommand show all
Defined in:
lib/command/ambari_start_host.rb

Overview

Command used to start all components of an host.

Author:

  • tnoguer

Instance Attribute Summary

Attributes inherited from AmbariClusterHostCommand

#host_name

Attributes inherited from AmbariClusterCommand

#cluster_name

Attributes inherited from BasicCommand

#logger, #receiver

Instance Method Summary collapse

Methods inherited from AmbariClusterHostCommand

#initialize

Methods inherited from AmbariClusterCommand

#initialize

Methods inherited from AmbariCommand

#initialize

Methods inherited from BasicCommand

#initialize

Constructor Details

This class inherits a constructor from Command::AmbariClusterHostCommand

Instance Method Details

#execObject

The execution of the command.

Author:

  • tnoguer



14
15
16
# File 'lib/command/ambari_start_host.rb', line 14

def exec()
  @receiver.start_host(@cluster_name, @host_name)
end