Class: Facts::Windows::Os::Windows::EditionId
- Inherits:
-
Object
- Object
- Facts::Windows::Os::Windows::EditionId
- Defined in:
- lib/facter/facts/windows/os/windows/edition_id.rb
Constant Summary collapse
- FACT_NAME =
'os.windows.edition_id'
- ALIASES =
'windows_edition_id'
Instance Method Summary collapse
Instance Method Details
#call_the_resolver ⇒ Object
11 12 13 14 15 |
# File 'lib/facter/facts/windows/os/windows/edition_id.rb', line 11 def call_the_resolver fact_value = Facter::Resolvers::ProductRelease.resolve(:edition_id) [Facter::ResolvedFact.new(FACT_NAME, fact_value), Facter::ResolvedFact.new(ALIASES, fact_value, :legacy)] end |