lib/facts/aix/ssh.rb in facter-4.0.8.pre vs lib/facts/aix/ssh.rb in facter-4.0.9.pre
- old
+ new
@@ -1,23 +1,23 @@
# frozen_string_literal: true
-module Facter
+module Facts
module Aix
class Ssh
FACT_NAME = 'ssh'
def call_the_resolver
- ResolvedFact.new(FACT_NAME, fact_value)
+ Facter::ResolvedFact.new(FACT_NAME, fact_value)
end
private
def fact_value
resolver_data.map! { |el| create_ssh_fact(el) }.inject(:merge!)
end
def resolver_data
- Resolvers::SshResolver.resolve(:ssh)
+ Facter::Resolvers::SshResolver.resolve(:ssh)
end
def create_ssh_fact(ssh)
{ ssh.name.to_sym => {
fingerprints: {