lib/puppet_x/coi/jboss/internal/cli_executor.rb
# Method that return refreshes facts that are available in the system or returns jboss_product
Method that return refreshes facts that are available in the system or returns jboss_product
Method that return refreshes facts that are available in the system or returns jboss_product
def jbossas?
    if jboss_product.nil?
      PuppetX::Coi::Jboss::FactsRefresher.refresh_facts [:jboss_product]
    end
    jboss_product == 'jboss-as'
  end
def jbossas? if jboss_product . nil? PuppetX :: Coi :: Jboss :: FactsRefresher . refresh_facts [ :jboss_product ] end jboss_product == 'jboss-as' end
Method that return refreshes facts that are available in the system or returns jboss_product
Method that return refreshes facts that are available in the system or returns jboss_product
# jboss_product fact is not set on first run, so that # calls to jboss-cli can fail (if jboss-as is installed)