Sha256: b6f47ba7f3890187abf5513152b23913c7b8ded8492eb1478d935e26000fcd33

Contents?: true

Size: 295 Bytes

Versions: 5

Compression:

Stored size: 295 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Openbsd
    class Virtual
      FACT_NAME = 'virtual'

      def call_the_resolver
        fact_value = Facter::Util::Facts::Posix::VirtualDetector.platform

        Facter::ResolvedFact.new(FACT_NAME, fact_value)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
facter-4.10.0 lib/facter/facts/openbsd/virtual.rb
facter-4.9.0 lib/facter/facts/openbsd/virtual.rb
facter-4.8.0 lib/facter/facts/openbsd/virtual.rb
facter-4.7.1 lib/facter/facts/openbsd/virtual.rb
facter-4.7.0 lib/facter/facts/openbsd/virtual.rb