Sha256: 1928ddc8b772aacc968ebea5d79da475a696e2f3ffe9c4f52728ed482b0ce722

Contents?: true

Size: 361 Bytes

Versions: 2

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Aix
    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/aix/networking/fqdn.rb
facter-4.0.7.pre lib/facts/aix/networking/fqdn.rb