lib/facts/aix/networking/primary.rb in facter-4.0.8.pre vs lib/facts/aix/networking/primary.rb in facter-4.0.9.pre

- old
+ new

@@ -1,15 +1,17 @@ # frozen_string_literal: true -module Facter +module Facts module Aix - class NetworkingPrimary - FACT_NAME = 'networking.primary' + module Networking + class Primary + FACT_NAME = 'networking.primary' - def call_the_resolver - fact_value = Resolvers::Aix::Networking.resolve(:primary) + def call_the_resolver + fact_value = Facter::Resolvers::Aix::Networking.resolve(:primary) - ResolvedFact.new(FACT_NAME, fact_value) + Facter::ResolvedFact.new(FACT_NAME, fact_value) + end end end end end