Sha256: dcf4ac37aa9bfe6477a539aedee13d0a1a0d5c886613067ad6687e66a4f0987a
Contents?: true
Size: 458 Bytes
Versions: 31
Compression:
Stored size: 458 Bytes
Contents
# frozen_string_literal: true module Facts module Linux class Virtual FACT_NAME = 'virtual' def initialize @log = Facter::Log.new(self) end def call_the_resolver @log.debug('Linux Virtual Resolver') fact_value = Facter::Util::Facts::Posix::VirtualDetector.platform @log.debug("Fact value is: #{fact_value}") Facter::ResolvedFact.new(FACT_NAME, fact_value) end end end end
Version data entries
31 entries across 31 versions & 1 rubygems