Sha256: 6f7039698aa86347c19004615b69eb909041ad5f4c1f675632cf344207a9846f

Contents?: true

Size: 395 Bytes

Versions: 11

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

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

11 entries across 11 versions & 1 rubygems

Version Path
facter-4.0.47 lib/facter/facts/aix/sshalgorithmkey.rb
facter-4.0.46 lib/facter/facts/aix/sshalgorithmkey.rb
facter-4.0.44 lib/facter/facts/aix/sshalgorithmkey.rb
facter-4.0.43 lib/facter/facts/aix/sshalgorithmkey.rb
facter-4.0.42 lib/facter/facts/aix/sshalgorithmkey.rb
facter-4.0.41 lib/facter/facts/aix/sshalgorithmkey.rb
facter-4.0.40 lib/facter/facts/aix/sshalgorithmkey.rb
facter-4.0.39 lib/facter/facts/aix/sshalgorithmkey.rb
facter-4.0.38 lib/facter/facts/aix/sshalgorithmkey.rb
facter-4.0.37 lib/facter/facts/aix/sshalgorithmkey.rb
facter-4.0.36 lib/facter/facts/aix/sshalgorithmkey.rb