Class: Facts::Freebsd::Ssh

Inherits:
Object
  • Object
show all
Defined in:
lib/facter/facts/freebsd/ssh.rb

Constant Summary collapse

FACT_NAME =
'ssh'

Instance Method Summary collapse

Instance Method Details

#call_the_resolverObject



8
9
10
11
12
13
# File 'lib/facter/facts/freebsd/ssh.rb', line 8

def call_the_resolver
  result = Facter::Resolvers::SshResolver.resolve(:ssh)
  ssh_facts = {}
  result.each { |ssh| ssh_facts.merge!(create_ssh_fact(ssh)) }
  Facter::ResolvedFact.new(FACT_NAME, ssh_facts)
end