Class: Facts::Ol::Lsbdistid
- Inherits:
-
Object
- Object
- Facts::Ol::Lsbdistid
- Defined in:
- lib/facter/facts/ol/lsbdistid.rb
Constant Summary collapse
- FACT_NAME =
'lsbdistid'
- TYPE =
:legacy
Instance Method Summary collapse
Instance Method Details
#call_the_resolver ⇒ Object
9 10 11 12 13 |
# File 'lib/facter/facts/ol/lsbdistid.rb', line 9 def call_the_resolver fact_value = Facter::Resolvers::LsbRelease.resolve(:distributor_id) Facter::ResolvedFact.new(FACT_NAME, fact_value, :legacy) end |