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_and_get(jbosscmd)
    ctrlcfg = controller_config @resource
    execute_and_get_result(
      jbosscmd, runasdomain?, ctrlcfg, PuppetX::Coi::Jboss::Value::Try::ZERO
    )
  end
def execute_and_get ( jbosscmd ) ctrlcfg = controller_config @resource execute_and_get_result ( jbosscmd , runasdomain? , ctrlcfg , PuppetX :: Coi :: Jboss :: Value :: Try :: ZERO ) 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