Sha256: 1c4138ec439ed30eda8e640539e79489502ed2a76a8f0dd66f86e81e30124835
Contents?: true
Size: 485 Bytes
Versions: 56
Compression:
Stored size: 485 Bytes
Contents
# frozen_string_literal: true module Facts module Macosx module SystemProfiler class ModelIdentifier FACT_NAME = 'system_profiler.model_identifier' ALIASES = 'sp_machine_model' def call_the_resolver fact_value = Facter::Resolvers::Macosx::SystemProfiler.resolve(:model_identifier) [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end end end end end
Version data entries
56 entries across 56 versions & 1 rubygems