Sha256: cca37b7f6659c6d5a7ec8134997f6cd42eacd2661993a92fec0a4ffda82ad442
Contents?: true
Size: 425 Bytes
Versions: 36
Compression:
Stored size: 425 Bytes
Contents
# frozen_string_literal: true module Facts module Linuxmint module Os class Name FACT_NAME = 'os.name' ALIASES = 'operatingsystem' def call_the_resolver fact_value = Facter::Resolvers::OsRelease.resolve(:id)&.capitalize [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end end end end end
Version data entries
36 entries across 36 versions & 1 rubygems