Class: Facts::Solaris::ZpoolVersion

Inherits:
Object
  • Object
show all
Defined in:
lib/facter/facts/solaris/zpool_version.rb

Constant Summary collapse

FACT_NAME =
'zpool_version'

Instance Method Summary collapse

Instance Method Details

#call_the_resolverObject



8
9
10
11
# File 'lib/facter/facts/solaris/zpool_version.rb', line 8

def call_the_resolver
  fact_value = Facter::Resolvers::Zpool.resolve(:zpool_version)
  Facter::ResolvedFact.new(FACT_NAME, fact_value)
end