Class: Command::AmbariServiceConfLs
- Inherits:
-
AmbariClusterCommand
- Object
- BasicCommand
- AmbariCommand
- AmbariClusterCommand
- Command::AmbariServiceConfLs
- Defined in:
- lib/command/ambari_service_conf_ls.rb
Overview
Command used to get configuration about a ambari cluster.
Instance Attribute Summary
Attributes inherited from AmbariClusterCommand
Attributes inherited from BasicCommand
Instance Method Summary collapse
-
#exec ⇒ Hash
The execution of the command.
-
#initialize(cluster_name) ⇒ AmbariServiceConfLs
constructor
private
Default constructor.
Constructor Details
#initialize(cluster_name) ⇒ AmbariServiceConfLs (private)
Default constructor.
16 17 18 19 |
# File 'lib/command/ambari_service_conf_ls.rb', line 16 def initialize(cluster_name) super(cluster_name) @logger.info("Command::AmbariServiceConfLs initialize the parameters...") end |
Instance Method Details
#exec ⇒ Hash
The execution of the command.
25 26 27 |
# File 'lib/command/ambari_service_conf_ls.rb', line 25 def exec() return receiver.get_cluster_configurations_list(@cluster_name) end |