lib/shared/pe_status_check.rb
# Return the name of the pe-postgresql service for the current OS
# @return [String] The name of the pe-postgresql service
Return the name of the pe-postgresql service for the current OS
Return the name of the pe - postgresql service for the current OS
def pe_postgres_service_name
    if Facter.value(:os)['family'].eql?('Debian')
      "pe-postgresql#{Facter.value(:pe_postgresql_info)['installed_server_version']}"
    else
      'pe-postgresql'
    end
  end
def pe_postgres_service_name if Facter . value ( :os ) [ 'family' ] . eql? ( 'Debian' ) "pe-postgresql#{Facter.value(:pe_postgresql_info)['installed_server_version']}" else 'pe-postgresql' end end
Return the name of the pe-postgresql service for the current OS
Return the name of the pe - postgresql service for the current OS
The name of the pe-postgresql service
The name of the pe - postgresql service
String