lib/facter/resolvers/xen.rb in facter-4.0.46 vs lib/facter/resolvers/xen.rb in facter-4.0.47

- old
+ new

@@ -30,10 +30,10 @@ xen_type end def privileged?(xen_type) - content = Util::FileHelper.safe_read(XEN_PATH, nil) + content = Facter::Util::FileHelper.safe_read(XEN_PATH, nil) content&.strip == 'control_d' || xen_type == 'xen0' end def detect_domains domains = []