lib/puppet_x/coi/jboss/provider/abstract_jboss_cli.rb
# Method that configures every variable that is needed to execute the provided command
# @param jbosscmd [String] jboss command that will be executed
# @return [PuppetX::Coi::Jboss::Internal::State::ExecutionState] a state of execution
Method that configures every variable that is needed to execute the provided command
Method that configures every variable that is needed to execute the provided command
def execute(jbosscmd)
    ctrlcfg = controller_config @resource
    try = PuppetX::Coi::Jboss::Value::Try.new(@resource[:retry], @resource[:retry_timeout])
    @cli_executor.run_jboss_command(jbosscmd, runasdomain?, ctrlcfg, try)
  end
def execute ( jbosscmd ) ctrlcfg = controller_config @resource try = PuppetX :: Coi :: Jboss :: Value :: Try . new ( @resource [ :retry ] , @resource [ :retry_timeout ] ) @cli_executor . run_jboss_command ( jbosscmd , runasdomain? , ctrlcfg , try ) end
Method that configures every variable that is needed to execute the provided command
Method that configures every variable that is needed to execute the provided command
a state of execution
a state of execution
PuppetX::Coi::Jboss::Internal::State::ExecutionState
jbosscmd
jboss command that will be executed
jboss command that will be executed