Method: Exec::ServiceConfApply#apply_configuration

Defined in:
lib/exec/service_conf_apply.rb

#apply_configuration(cluster_name = @values["cluster"], type_conf = @values["type"], tag_conf = @values["tag"]) ⇒ Object (private)

Applies a service configuration.

Parameters:

  • cluster_name (defaults to: @values["cluster"])

    The name of the cluster.

  • type_conf (defaults to: @values["type"])

    The type of configuration.

  • tag_conf (defaults to: @values["tag"])

    The tag ot configuration.

Author:

  • mbretaud



49
50
51
52
53
54
# File 'lib/exec/service_conf_apply.rb', line 49

def apply_configuration(cluster_name = @values["cluster"], type_conf = @values["type"], tag_conf = @values["tag"])
  @logger.begin_main_step("applyConfigurations")
  command = Command::AmbariServiceConfApply.new(cluster_name, type_conf, tag_conf)
  command.exec()
  @logger.end_main_step("applyConfigurations")
end