Class: Facts::Aix::Sshalgorithmkey
- Inherits:
-
Object
- Object
- Facts::Aix::Sshalgorithmkey
- Defined in:
- lib/facter/facts/aix/sshalgorithmkey.rb
Constant Summary collapse
- FACT_NAME =
'ssh.*key'
- TYPE =
:legacy
Instance Method Summary collapse
Instance Method Details
#call_the_resolver ⇒ Object
9 10 11 12 13 14 |
# File 'lib/facter/facts/aix/sshalgorithmkey.rb', line 9 def call_the_resolver facts = [] result = Facter::Resolvers::SshResolver.resolve(:ssh) result.each { |ssh| facts << Facter::ResolvedFact.new("ssh#{ssh.name.to_sym}key", ssh.key, :legacy) } facts end |