Sha256: a358444b595b09586a17b83893e63ba7d056214c31ff086e6530f3a699560b17
Contents?: true
Size: 397 Bytes
Versions: 25
Compression:
Stored size: 397 Bytes
Contents
# frozen_string_literal: true module Facts module Linux class Sshalgorithmkey FACT_NAME = 'ssh.*key' TYPE = :legacy 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 end end end
Version data entries
25 entries across 25 versions & 1 rubygems