Class: Facts::Windows::Network6Interfaces
- Inherits:
-
Object
- Object
- Facts::Windows::Network6Interfaces
- Defined in:
- lib/facter/facts/windows/network6_interfaces.rb
Constant Summary collapse
- FACT_NAME =
'network6_.*'
- TYPE =
:legacy
Instance Method Summary collapse
Instance Method Details
#call_the_resolver ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/facter/facts/windows/network6_interfaces.rb', line 9 def call_the_resolver arr = [] interfaces = Facter::Resolvers::Windows::Networking.resolve(:interfaces) interfaces&.each do |interface_name, info| arr << Facter::ResolvedFact.new("network6_#{interface_name}", info[:network6], :legacy) if info[:network6] end arr end |