X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/81a4cb2bb67d0ee701260ca9f8c9441a686bf308..e5cfdc9914e4d57a2e7cb5cfb370eeb97683f745:/cookbooks/openssh/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/openssh/recipes/default.rb b/cookbooks/openssh/recipes/default.rb index 79a2dd1fb..432da265f 100644 --- a/cookbooks/openssh/recipes/default.rb +++ b/cookbooks/openssh/recipes/default.rb @@ -48,7 +48,9 @@ end.collect do |node| } if node[:keys][:ssh][:host_ecdsa_public] - keys[node[:keys][:ssh][:host_ecdsa_type]] = node[:keys][:ssh][:host_ecdsa_public] + ecdsa_type = node[:keys][:ssh][:host_ecdsa_type] + + keys[ecdsa_type] = node[:keys][:ssh][:host_ecdsa_public] end Hash[