X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ea0715b4be41a1d1600bba7a1f5d0b988708579f..75c5da85dcd5a6b5b66040dfd838c2bbf30ba4d5:/cookbooks/openssh/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/openssh/recipes/default.rb b/cookbooks/openssh/recipes/default.rb index a8af1dece..9eca4a5ba 100644 --- a/cookbooks/openssh/recipes/default.rb +++ b/cookbooks/openssh/recipes/default.rb @@ -24,9 +24,6 @@ package "openssh-client" package "openssh-server" service "ssh" do - if node[:lsb][:release].to_f >= 14.04 - provider Chef::Provider::Service::Upstart - end action [:enable, :start] supports :status => true, :restart => true, :reload => true end @@ -63,14 +60,14 @@ end template "/etc/ssh/ssh_config" do source "ssh_config.erb" - mode 0644 + mode 0o644 owner "root" group "root" end template "/etc/ssh/ssh_known_hosts" do source "ssh_known_hosts.erb" - mode 0444 + mode 0o444 owner "root" group "root" backup false