Class: Facts::Linux::Networking::Scope6

Inherits:
Object
  • Object
show all
Defined in:
lib/facter/facts/linux/networking/scope6.rb

Constant Summary collapse

FACT_NAME =
'networking.scope6'
ALIASES =
'scope6'

Instance Method Summary collapse

Instance Method Details

#call_the_resolverObject



10
11
12
13
14
15
# File 'lib/facter/facts/linux/networking/scope6.rb', line 10

def call_the_resolver
  fact_value = Facter::Resolvers::NetworkingLinux.resolve(:scope6)

  [Facter::ResolvedFact.new(FACT_NAME, fact_value),
   Facter::ResolvedFact.new('scope6', fact_value, :legacy)]
end