lib/facter/facts/linux/ec2_userdata.rb in facter-4.0.46 vs lib/facter/facts/linux/ec2_userdata.rb in facter-4.0.47
- old
+ new
@@ -4,10 +4,10 @@
module Linux
class Ec2Userdata
FACT_NAME = 'ec2_userdata'
def initialize
- @virtual = Facter::VirtualDetector.new
+ @virtual = Facter::Util::Facts::VirtualDetector.new
end
def call_the_resolver
return Facter::ResolvedFact.new(FACT_NAME, nil) unless aws_hypervisors?