Sha256: 5fa81313f9022c488b17b36980c7ba2fe5810410d18f5e6919b804ec3a111c2a
Contents?: true
Size: 364 Bytes
Versions: 2
Compression:
Stored size: 364 Bytes
Contents
# frozen_string_literal: true module Facter module Macosx class NetworkingFqdn FACT_NAME = 'networking.fqdn' ALIASES = 'fqdn' def call_the_resolver fact_value = Facter::Resolvers::Hostname.resolve(:fqdn) [ResolvedFact.new(FACT_NAME, fact_value), ResolvedFact.new(ALIASES, fact_value, :legacy)] end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
facter-4.0.8.pre | lib/facts/macosx/networking/fqdn.rb |
facter-4.0.7.pre | lib/facts/macosx/networking/fqdn.rb |