Class: Facts::Linux::Os::Support
- Inherits:
-
Object
- Object
- Facts::Linux::Os::Support
- Defined in:
- lib/facter/facts/linux/os/support.rb
Constant Summary collapse
- FACT_NAME =
'os.support'
Instance Method Summary collapse
Instance Method Details
#call_the_resolver ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/facter/facts/linux/os/support.rb', line 9 def call_the_resolver # https://www.freedesktop.org/software/systemd/man/latest/os-release.html#SUPPORT_END= support_end = Facter::Resolvers::OsRelease.resolve(:support_end) return unless support_end [Facter::ResolvedFact.new(FACT_NAME, end: support_end)] end |