Sha256: 9addd79390f41f3cd3cc664ce41be38f02093e45268f4d25ffcd69973e103fe7

Contents?: true

Size: 377 Bytes

Versions: 5

Compression:

Stored size: 377 Bytes

Contents

# frozen_string_literal: true

module Facts
  module Macosx
    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

Version Path
facter-4.0.14 lib/facts/macosx/sshalgorithmkey.rb
facter-4.0.13 lib/facts/macosx/sshalgorithmkey.rb
facter-4.0.12 lib/facts/macosx/sshalgorithmkey.rb
facter-4.0.11 lib/facts/macosx/sshalgorithmkey.rb
facter-4.0.10.pre lib/facts/macosx/sshalgorithmkey.rb