lib/facter/facts/linux/netmask_interfaces.rb in facter-4.0.51 vs lib/facter/facts/linux/netmask_interfaces.rb in facter-4.0.52
- old
+ new
@@ -6,10 +6,10 @@
FACT_NAME = 'netmask_.*'
TYPE = :legacy
def call_the_resolver
arr = []
- interfaces = Facter::Resolvers::NetworkingLinux.resolve(:interfaces)
+ interfaces = Facter::Resolvers::Linux::Networking.resolve(:interfaces)
interfaces&.each do |interface_name, info|
arr << Facter::ResolvedFact.new("netmask_#{interface_name}", info[:netmask], :legacy) if info[:netmask]
end
arr