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