lib/facts/sles/memory/system/total_bytes.rb in facter-4.0.8.pre vs lib/facts/sles/memory/system/total_bytes.rb in facter-4.0.9.pre
- old
+ new
@@ -1,14 +1,18 @@
# frozen_string_literal: true
-module Facter
+module Facts
module Sles
- class MemorySystemTotalBytes
- FACT_NAME = 'memory.system.total_bytes'
+ module Memory
+ module System
+ class TotalBytes
+ FACT_NAME = 'memory.system.total_bytes'
- def call_the_resolver
- fact_value = Resolvers::Linux::Memory.resolve(:total)
- ResolvedFact.new(FACT_NAME, fact_value)
+ def call_the_resolver
+ fact_value = Facter::Resolvers::Linux::Memory.resolve(:total)
+ Facter::ResolvedFact.new(FACT_NAME, fact_value)
+ end
+ end
end
end
end
end