+ names |= ["#{node[:hostname]}.#{node[:networking][:roles][:external][:zone]}.openstreetmap.org"]
+ end
+
+ keys = {
+ "ssh-rsa" => node[:keys][:ssh][:host_rsa_public],
+ "ssh-dss" => node[:keys][:ssh][:host_dsa_public]
+ }
+
+ if node[:keys][:ssh][:host_ecdsa_public]
+ ecdsa_type = node[:keys][:ssh][:host_ecdsa_type]
+
+ keys[ecdsa_type] = node[:keys][:ssh][:host_ecdsa_public]
+ end
+
+ if node[:keys][:ssh][:host_ed25519_public]
+ keys["ssh-ed25519"] = node[:keys][:ssh][:host_ed25519_public]