Sha256: 3f6c6427d8ae81943dae550e72c099fcc5280b6476f08c4961cb0dd85da87ad2
Contents?: true
Size: 373 Bytes
Versions: 2
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true module Facter module Solaris 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/solaris/networking/domain.rb |
facter-4.0.7.pre | lib/facts/solaris/networking/domain.rb |