Sha256: 1ecc137561ed32c93d92a1f3864645e417f1811b24524a97ac53cd20a4c2aa4d
Contents?: true
Size: 351 Bytes
Versions: 2
Compression:
Stored size: 351 Bytes
Contents
# frozen_string_literal: true module Facter module Sles class OsName FACT_NAME = 'os.name' ALIASES = 'operatingsystem' def call_the_resolver fact_value = Resolvers::OsRelease.resolve(:name) [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/sles/os/name.rb |
facter-4.0.7.pre | lib/facts/sles/os/name.rb |