lib/facts/el/kernelversion.rb in facter-4.0.8.pre vs lib/facts/el/kernelversion.rb in facter-4.0.9.pre
- old
+ new
@@ -1,14 +1,14 @@
# frozen_string_literal: true
-module Facter
+module Facts
module El
class Kernelversion
FACT_NAME = 'kernelversion'
def call_the_resolver
- fact_value = Resolvers::Uname.resolve(:kernelrelease)
- ResolvedFact.new(FACT_NAME, version(fact_value))
+ fact_value = Facter::Resolvers::Uname.resolve(:kernelrelease)
+ Facter::ResolvedFact.new(FACT_NAME, version(fact_value))
end
private
def version(fact_value)