$OpenBSD: patch-lib_facter_ssh_rb,v 1.2 2014/01/09 07:45:48 jasper Exp $

From daa68fda17a8ac3455d79cdb4a9892f30103814b Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date: Sat, 21 Dec 2013 21:33:34 +0100
Subject: [PATCH] Add support for ssh-ed25519 keys

--- lib/facter/ssh.rb.orig	Sat Dec 21 21:45:50 2013
+++ lib/facter/ssh.rb	Sat Dec 21 21:46:46 2013
@@ -11,7 +11,7 @@
 ## Facts related to SSH
 ##
 
-{"SSHDSAKey" => { :file => "ssh_host_dsa_key.pub", :sshfprrtype => 2 } , "SSHRSAKey" => { :file => "ssh_host_rsa_key.pub", :sshfprrtype => 1 }, "SSHECDSAKey" => { :file => "ssh_host_ecdsa_key.pub", :sshfprrtype => 3 } }.each do |name,key|
+{"SSHDSAKey" => { :file => "ssh_host_dsa_key.pub", :sshfprrtype => 2 } , "SSHRSAKey" => { :file => "ssh_host_rsa_key.pub", :sshfprrtype => 1 }, "SSHECDSAKey" => { :file => "ssh_host_ecdsa_key.pub", :sshfprrtype => 3 }, "SSHED25519Key" => { :file => "ssh_host_ed25519_key.pub", :sshfprrtype => 4 } }.each do |name,key|
   
   Facter.add(name) do
     setcode do
