Sha256: 7dcc443eea6ac956245dd33da865c142de670a3b5d839d3c253822eb1d44bf4c

Contents?: true

Size: 276 Bytes

Versions: 2

Compression:

Stored size: 276 Bytes

Contents

# frozen_string_literal: true

module Facter
  module Solaris
    class OsHardware
      FACT_NAME = 'os.hardware'

      def call_the_resolver
        fact_value = Resolvers::Uname.resolve(:machine)
        ResolvedFact.new(FACT_NAME, fact_value)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
facter-4.0.8.pre lib/facts/solaris/os/hardware.rb
facter-4.0.7.pre lib/facts/solaris/os/hardware.rb