$OpenBSD: patch-lib_puppet_type_ssh_authorized_key_rb,v 1.3 2013/12/11 20:32:47 jasper Exp $

From b69a3e2f42bd2c201ee4722f8f2d9c7da1d0f05b Mon Sep 17 00:00:00 2001
From: Jasper Lievisse Adriaanse <jasper@humppa.nl>
Date: Fri, 6 Dec 2013 22:20:25 +0100
Subject: [PATCH] (#23376) Add support for ssh-ed25519 keys to ssh_authorized_key type

--- lib/puppet/type/ssh_authorized_key.rb.orig	Fri Dec  6 22:00:34 2013
+++ lib/puppet/type/ssh_authorized_key.rb	Fri Dec  6 22:01:35 2013
@@ -20,9 +20,10 @@ module Puppet
     newproperty(:type) do
       desc "The encryption type used: ssh-dss or ssh-rsa."
 
-      newvalues :'ssh-dss', :'ssh-rsa', :'ecdsa-sha2-nistp256', :'ecdsa-sha2-nistp384', :'ecdsa-sha2-nistp521'
+      newvalues :'ssh-dss', :'ssh-rsa', :'ecdsa-sha2-nistp256', :'ecdsa-sha2-nistp384', :'ecdsa-sha2-nistp521', :'ssh-ed25519'
 
       aliasvalue(:dsa, :'ssh-dss')
+      aliasvalue(:ed25519, :'ssh-ed25519')
       aliasvalue(:rsa, :'ssh-rsa')
     end
 
