Class: Facts::Amzn::Lsbdistid
- Inherits:
-
Object
- Object
- Facts::Amzn::Lsbdistid
- Defined in:
- lib/facter/facts/amzn/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/amzn/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 |