X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7b9ec4b60ee39614d1d083d7220e76b07d2b275f..cb62c8a4bb4ea656b5e48d2d5a0f8c6894d42c11:/cookbooks/openssh/recipes/default.rb diff --git a/cookbooks/openssh/recipes/default.rb b/cookbooks/openssh/recipes/default.rb index 59c8fe7d8..ceb9a6792 100644 --- a/cookbooks/openssh/recipes/default.rb +++ b/cookbooks/openssh/recipes/default.rb @@ -25,11 +25,7 @@ package "openssh-server" service "ssh" do action [ :enable, :start ] - if node[:lsb][:release].to_f >= 10.04 - supports :status => true, :restart => true, :reload => true - else - supports :restart => true, :reload => true - end + supports :status => true, :restart => true, :reload => true end hosts = search(:node, "networking:interfaces").sort_by do |node|