lib/facter/resolvers/mountpoints_resolver.rb in facter-4.0.44 vs lib/facter/resolvers/mountpoints_resolver.rb in facter-4.0.46
- old
+ new
@@ -2,11 +2,14 @@
module Facter
module Resolvers
class Mountpoints < BaseResolver
include Facter::FilesystemHelper
- @fact_list ||= {}
+
+ init_resolver
+
@log = Facter::Log.new(self)
+
class << self
private
def post_resolve(fact_name)
@fact_list.fetch(fact_name) { read_mounts(fact_name) }