Sha256: 6ebecd37d17b2b418a3300f73fbaa495dbe5d4c4d79ca05e1f5b34211afc86f9

Contents?: true

Size: 427 Bytes

Versions: 25

Compression:

Stored size: 427 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Windows
    module Networking
      class Domain
        FACT_NAME = 'networking.domain'
        ALIASES = 'domain'

        def call_the_resolver
          fact_value = Facter::Resolvers::Networking.resolve(:domain)

          [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)]
        end
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
facter-4.0.34 lib/facter/facts/windows/networking/domain.rb
facter-4.0.33 lib/facter/facts/windows/networking/domain.rb
facter-4.0.32 lib/facter/facts/windows/networking/domain.rb
facter-4.0.31 lib/facter/facts/windows/networking/domain.rb
facter-4.0.30 lib/facter/facts/windows/networking/domain.rb
facter-4.0.29 lib/facts/windows/networking/domain.rb
facter-4.0.28 lib/facts/windows/networking/domain.rb
facter-4.0.26 lib/facts/windows/networking/domain.rb
facter-4.0.25 lib/facts/windows/networking/domain.rb
facter-4.0.24 lib/facts/windows/networking/domain.rb
facter-4.0.23 lib/facts/windows/networking/domain.rb
facter-4.0.22 lib/facts/windows/networking/domain.rb
facter-4.0.21 lib/facts/windows/networking/domain.rb
facter-4.0.20 lib/facts/windows/networking/domain.rb
facter-4.0.19 lib/facts/windows/networking/domain.rb
facter-4.0.18 lib/facts/windows/networking/domain.rb
facter-4.0.17 lib/facts/windows/networking/domain.rb
facter-4.0.16 lib/facts/windows/networking/domain.rb
facter-4.0.15 lib/facts/windows/networking/domain.rb
facter-4.0.14 lib/facts/windows/networking/domain.rb