lib/puppet_x/coi/jboss/provider/abstract_jboss_cli.rb
# Method that executes command without any retry if command fails
# @param jbosscmd [String] jboss command
# @return [Hash] a hash of `:result` as `Boolean`, and `:data` as `Hash`
Method that executes command without any retry if command fails
Method that executes command without any retry if command fails
def execute_without_retry(jbosscmd)
    ctrlcfg = controller_config @resource
    try = PuppetX::Coi::Jboss::Value::Try::ZERO
    @cli_executor.execute_and_get(jbosscmd, runasdomain?, ctrlcfg, try)
  end
def execute_without_retry ( jbosscmd ) ctrlcfg = controller_config @resource try = PuppetX :: Coi :: Jboss :: Value :: Try :: ZERO @cli_executor . execute_and_get ( jbosscmd , runasdomain? , ctrlcfg , try ) end
Method that executes command without any retry if command fails
Method that executes command without any retry if command fails
a hash of `:result` as `Boolean`, and `:data` as `Hash`
a hash of ` : result ` as ` Boolean ` and ` : data ` as ` Hash `
Hash
jbosscmd
None