Sha256: 4c03734f8e02c726c4535b2315869ae74a8b743a333d9515ead83d3e7525ca5d
Contents?: true
Size: 374 Bytes
Versions: 2
Compression:
Stored size: 374 Bytes
Contents
# frozen_string_literal: true module Facter module Windows class NetworkingHostname FACT_NAME = 'networking.hostname' ALIASES = 'hostname' def call_the_resolver fact_value = Resolvers::Hostname.resolve(:hostname) [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/windows/networking/hostname.rb |
facter-4.0.7.pre | lib/facts/windows/networking/hostname.rb |