Sha256: f6f66037d7a0399b68af727a00620b5a2e1a3dfb7ed5b7d63619a82308690406
Contents?: true
Size: 423 Bytes
Versions: 19
Compression:
Stored size: 423 Bytes
Contents
# frozen_string_literal: true module Facts module Macosx module Networking class Domain FACT_NAME = 'networking.domain' ALIASES = 'domain' def call_the_resolver fact_value = Facter::Resolvers::Hostname.resolve(:domain) [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end end end end end
Version data entries
19 entries across 19 versions & 1 rubygems