lib/facter/facts/freebsd/sshfp_algorithm.rb in facter-4.0.47 vs lib/facter/facts/freebsd/sshfp_algorithm.rb in facter-4.0.48
- old
+ new
@@ -6,10 +6,10 @@
FACT_NAME = 'sshfp_.*'
TYPE = :legacy
def call_the_resolver
facts = []
- result = Facter::Resolvers::SshResolver.resolve(:ssh)
+ result = Facter::Resolvers::Ssh.resolve(:ssh)
result.each do |ssh|
facts << Facter::ResolvedFact.new("sshfp_#{ssh.name.to_sym}",
"#{ssh.fingerprint.sha1}\n#{ssh.fingerprint.sha256}", :legacy)
end
facts