lib/puppet_x/coi/jboss/facts.rb
# Defines a initsystem fact to be used by internal mechanisms
Defines a initsystem fact to be used by internal mechanisms
Defines a initsystem fact to be used by internal mechanisms
def define_initsystem_fact
      initsystem = calculate_initsystem(
        Facter.value(:osfamily),
        Facter.value(:operatingsystem),
        Facter.value(:operatingsystemrelease)
      )
      add_fact('jboss_initsystem', initsystem.to_s) unless initsystem == :unsupported
    end
def define_initsystem_fact initsystem = calculate_initsystem ( Facter . value ( :osfamily ) , Facter . value ( :operatingsystem ) , Facter . value ( :operatingsystemrelease ) ) add_fact ( 'jboss_initsystem' , initsystem . to_s ) unless initsystem == :unsupported end
Defines a initsystem fact to be used by internal mechanisms
Defines a initsystem fact to be used by internal mechanisms