lib/facter/resolvers/xen.rb in facter-4.0.44 vs lib/facter/resolvers/xen.rb in facter-4.0.46
- old
+ new
@@ -1,10 +1,10 @@
# frozen_string_literal: true
module Facter
module Resolvers
class Xen < BaseResolver
- @fact_list ||= {}
+ init_resolver
XEN_PATH = '/proc/xen/capabilities'
XEN_TOOLSTACK = '/usr/lib/xen-common/bin/xen-toolstack'
XEN_COMMANDS = ['/usr/sbin/xl', '/usr/sbin/xm'].freeze