Class: Facts::Openbsd::Networking::Ip
- Inherits:
-
Object
- Object
- Facts::Openbsd::Networking::Ip
- Defined in:
- lib/facter/facts/openbsd/networking/ip.rb
Constant Summary collapse
- FACT_NAME =
'networking.ip'
- ALIASES =
'ipaddress'
Instance Method Summary collapse
Instance Method Details
#call_the_resolver ⇒ Object
10 11 12 13 14 |
# File 'lib/facter/facts/openbsd/networking/ip.rb', line 10 def call_the_resolver fact_value = Facter::Resolvers::Networking.resolve(:ip) [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end |