10
11
12
13
14
15
16
17
18
|
# File 'lib/facter/facts/solaris/os/release.rb', line 10
def call_the_resolver
full_value = Facter::Resolvers::Solaris::OsRelease.resolve(:full)
major_value = Facter::Resolvers::Solaris::OsRelease.resolve(:major)
minor_value = Facter::Resolvers::Solaris::OsRelease.resolve(:minor)
[Facter::ResolvedFact.new(FACT_NAME, full: full_value, major: major_value, minor: minor_value),
Facter::ResolvedFact.new(ALIASES.first, major_value, :legacy),
Facter::ResolvedFact.new(ALIASES.last, full_value, :legacy)]
end
|