lib/facts/debian/networking/interfaces.rb in facter-4.0.8.pre vs lib/facts/debian/networking/interfaces.rb in facter-4.0.9.pre

- old
+ new

@@ -1,14 +1,16 @@ # frozen_string_literal: true -module Facter +module Facts module Debian - class NetworkingInterfaces - FACT_NAME = 'networking.interfaces' + module Networking + class Interfaces + FACT_NAME = 'networking.interfaces' - def call_the_resolver - fact_value = Resolvers::NetworkingLinux.resolve(:interfaces) - ResolvedFact.new(FACT_NAME, fact_value) + def call_the_resolver + fact_value = Facter::Resolvers::NetworkingLinux.resolve(:interfaces) + Facter::ResolvedFact.new(FACT_NAME, fact_value) + end end end end end