Sha256: 9945d27acda3535e06d14fe1f5bc7db0466ce8521841a5f64318ca282d39a231
Contents?: true
Size: 368 Bytes
Versions: 2
Compression:
Stored size: 368 Bytes
Contents
# frozen_string_literal: true module Facter module El class NetworkingDomain FACT_NAME = 'networking.domain' ALIASES = 'domain' def call_the_resolver fact_value = Facter::Resolvers::Hostname.resolve(:domain) [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/el/networking/domain.rb |
facter-4.0.7.pre | lib/facts/el/networking/domain.rb |