X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/7b9ec4b60ee39614d1d083d7220e76b07d2b275f..985c2fc143fde1f5c74b587a617baf79e8c58db1:/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|