lib/facter/facts/linux/is_virtual.rb in facter-4.0.46 vs lib/facter/facts/linux/is_virtual.rb in facter-4.0.47

- old
+ new

@@ -4,11 +4,11 @@ module Linux class IsVirtual FACT_NAME = 'is_virtual' def initialize - @virtual = Facter::VirtualDetector.new + @virtual = Facter::Util::Facts::VirtualDetector.new end def call_the_resolver fact_value = @virtual.platform @@ -16,10 +16,10 @@ end private def check_if_virtual(found_vm) - Facter::FactsUtils::PHYSICAL_HYPERVISORS.count(found_vm).zero?.to_s + Facter::Util::Facts::PHYSICAL_HYPERVISORS.count(found_vm).zero? end end end end