X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/17d62ba9158bf909d4c23919447aa5df40de7f9f..f13f49d00c028002bb22a25f75c15633d5ae3e81:/cookbooks/openssh/recipes/default.rb diff --git a/cookbooks/openssh/recipes/default.rb b/cookbooks/openssh/recipes/default.rb index c5738f45b..13bc8f517 100644 --- a/cookbooks/openssh/recipes/default.rb +++ b/cookbooks/openssh/recipes/default.rb @@ -28,14 +28,6 @@ service "ssh" do supports :status => true, :restart => true, :reload => true end -file "/etc/ssh/ssh_host_dsa_key" do - action :delete -end - -file "/etc/ssh/ssh_host_dsa_key.pub" do - action :delete -end - hosts = search(:node, "networking:interfaces").sort_by { |n| n[:hostname] }.collect do |node| name = node.name.split(".").first @@ -70,13 +62,6 @@ hosts = search(:node, "networking:interfaces").sort_by { |n| n[:hostname] }.coll ] end -template "/etc/ssh/ssh_config" do - source "ssh_config.erb" - mode 0o644 - owner "root" - group "root" -end - template "/etc/ssh/ssh_known_hosts" do source "ssh_known_hosts.erb" mode 0o444