Sha256: 64d64232bbb57370555caf1b41b2fed34d7cd54a3e1343378b7feda26ff4d295
Contents?: true
Size: 375 Bytes
Versions: 5
Compression:
Stored size: 375 Bytes
Contents
# frozen_string_literal: true module Facts module Sles class Sshalgorithmkey FACT_NAME = 'ssh.*key' 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
5 entries across 5 versions & 1 rubygems