Sha256: 25a398745bafc10c828c3b3c785f60d0741e98ba626b4f76768f45e9cd1bbafc

Contents?: true

Size: 422 Bytes

Versions: 2

Compression:

Stored size: 422 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Windows
    class OsWindowsInstallationType
      FACT_NAME = 'os.windows.installation_type'
      ALIASES = 'windows_installation_type'

      def call_the_resolver
        fact_value = Resolvers::ProductRelease.resolve(:installation_type)

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