Sha256: b1879a99012a96e2e9b416b63dc10a8db1302e241fb2b31b7e6502f0bf2cffca

Contents?: true

Size: 350 Bytes

Versions: 2

Compression:

Stored size: 350 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Windows
    class OsFamily
      FACT_NAME = 'os.family'
      ALIASES = 'osfamily'

      def call_the_resolver
        fact_value = Resolvers::Kernel.resolve(:kernel)

        [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/os/family.rb
facter-4.0.7.pre lib/facts/windows/os/family.rb